From 1328b44d44e5efc2d811bd857c59314511e2e34b Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 18 Feb 2014 07:50:35 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.cpp | 4 ++-- 1 file 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() -- cgit v1.2.3-70-g09d2