mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove obsolete comment
We don't allow building against Qt4 anymore. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ed30059183
commit
25273a3912
2 changed files with 0 additions and 4 deletions
|
@ -17,7 +17,6 @@ struct PhotoHelper {
|
||||||
int offsetSeconds;
|
int offsetSeconds;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef QList<struct picture *> SPictureList;
|
typedef QList<struct picture *> SPictureList;
|
||||||
typedef struct picture *picturepointer;
|
typedef struct picture *picturepointer;
|
||||||
typedef QPair<picturepointer, QImage> SPixmap;
|
typedef QPair<picturepointer, QImage> SPixmap;
|
||||||
|
|
|
@ -159,9 +159,6 @@ void GroupedLineEdit::keyPressEvent(QKeyEvent *e)
|
||||||
|
|
||||||
void GroupedLineEdit::paintEvent(QPaintEvent *e)
|
void GroupedLineEdit::paintEvent(QPaintEvent *e)
|
||||||
{
|
{
|
||||||
// for reasons we don't understand, touching the painter
|
|
||||||
// here (even drawing the fill rect) causes the QPlainTextEdit
|
|
||||||
// paintEvent to not draw the text on Qt4 & MacOS.
|
|
||||||
QTextLine line = document()->findBlock(0).layout()->lineAt(0);
|
QTextLine line = document()->findBlock(0).layout()->lineAt(0);
|
||||||
QPainter painter(viewport());
|
QPainter painter(viewport());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue