diff options
-rw-r--r-- | qt-models/divepicturemodel.h | 1 | ||||
-rw-r--r-- | qt-ui/groupedlineedit.cpp | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h index 2ca22a1d9..d6393e45f 100644 --- a/qt-models/divepicturemodel.h +++ b/qt-models/divepicturemodel.h @@ -17,7 +17,6 @@ struct PhotoHelper { int offsetSeconds; }; - typedef QList<struct picture *> SPictureList; typedef struct picture *picturepointer; typedef QPair<picturepointer, QImage> SPixmap; diff --git a/qt-ui/groupedlineedit.cpp b/qt-ui/groupedlineedit.cpp index ed2428fd7..bc948060d 100644 --- a/qt-ui/groupedlineedit.cpp +++ b/qt-ui/groupedlineedit.cpp @@ -159,9 +159,6 @@ void GroupedLineEdit::keyPressEvent(QKeyEvent *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); QPainter painter(viewport()); |