diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-02-18 07:50:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-18 08:46:08 -0800 |
commit | 1328b44d44e5efc2d811bd857c59314511e2e34b (patch) | |
tree | 30d46f556ab14405e1c3c47284bc568b684a03f1 /qt-ui/simplewidgets.cpp | |
parent | 240e269f19c23c230d1a9c2ee39c062e1508b3d3 (diff) | |
download | subsurface-1328b44d44e5efc2d811bd857c59314511e2e34b.tar.gz |
Fix compile error
I get compile errors from these lines. Removing the class name from the
calls allow me to compile the current master.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 2a77a1c5d..1e189c1b8 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -177,7 +177,7 @@ void ShiftImageTimesDialog::syncCameraClicked() EXIFInfo exiv; int retval; QPixmap picture; - QDateTime dcDateTime = QDateTime::QDateTime(); + QDateTime dcDateTime = QDateTime(); QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Open Image File"), MainWindow().dive_list()->lastUsedImageDir(), @@ -247,7 +247,7 @@ void ShiftImageTimesDialog::setOffset(time_t offset) ui.backwards->setChecked(TRUE); offset *= -1; } - ui.timeEdit->setTime(QTime::QTime(offset / 3600, (offset % 3600) / 60, offset % 60)); + ui.timeEdit->setTime(QTime(offset / 3600, (offset % 3600) / 60, offset % 60)); } bool isGnome3Session() |