summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index 1be907ccc..0f0a2a84b 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -637,8 +637,8 @@ void MainTab::updateDiveInfo()
ui.locationTags->show();
ui.editDiveSiteButton->setEnabled(!ui.location->text().isEmpty());
/* unset the special value text for date and time, just in case someone dove at midnight */
- ui.dateEdit->setSpecialValueText(QString(""));
- ui.timeEdit->setSpecialValueText(QString(""));
+ ui.dateEdit->setSpecialValueText(QString());
+ ui.timeEdit->setSpecialValueText(QString());
} else {
/* clear the fields */
clearTabs();