summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-04-03 19:34:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitd5953318cac32355b6115086f2b9e4ac9d71cf57 (patch)
tree2a779f485d29c07a127fd3fc402ebfbd5ea7f605 /desktop-widgets/tab-widgets/maintab.cpp
parent37c159aae10589ffd15b24a88a52da0a308e09a4 (diff)
downloadsubsurface-d5953318cac32355b6115086f2b9e4ac9d71cf57.tar.gz
Cleanup: replace QString("") by QString()
That should be more effective. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
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();