summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-27 18:00:42 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-27 20:37:11 -0700
commit3f98f024e484764e2bfa648d9eb072ce7472acf6 (patch)
treed04771bf8a78c6f4127e70fedeeff826ac91c9c9 /qt-ui/simplewidgets.cpp
parent259b73335f3ba0597eb2bb21d948d33fcd61bbbe (diff)
downloadsubsurface-3f98f024e484764e2bfa648d9eb072ce7472acf6.tar.gz
Open picture manager when clicking on the picture at the profile
This patch makes the click on pic == open picture browser works also on the profile instead of only on the list view.. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 035e27806..643efd450 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -337,7 +337,6 @@ void DateWidget::paintEvent(QPaintEvent *event)
QString year = mDate.toString("yyyy");
QString day = mDate.toString("dd");
-
QFont font = QFont("monospace", 10);
QFontMetrics metrics = QFontMetrics(font);
painter.setFont(font);