summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp4
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()