From 9dfaf4e01891c9727a9592c13f6649e8f952a3f4 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Date: Thu, 6 Aug 2015 11:25:50 -0300
Subject: [PATCH 2/5] Remove unused comment

We don'tt depend on Qt4 anymore, this comment was unecessary.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
---
 qt-models/divepicturemodel.h | 1 -
 qt-ui/groupedlineedit.cpp    | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index 2ca22a1..d6393e4 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 ed2428f..bc94806 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());
 
-- 
2.3.2 (Apple Git-55)

