diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-03 19:34:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | d5953318cac32355b6115086f2b9e4ac9d71cf57 (patch) | |
tree | 2a779f485d29c07a127fd3fc402ebfbd5ea7f605 /desktop-widgets/tab-widgets/maintab.cpp | |
parent | 37c159aae10589ffd15b24a88a52da0a308e09a4 (diff) | |
download | subsurface-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.cpp | 4 |
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(); |