diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 9483d9ab5..37e6dcdfc 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -653,7 +653,7 @@ QString getSubsurfaceDataPath(QString folderToFind) folder = QDir(execdir.append("/../Resources/").append(folderToFind)); if (folder.exists()) return folder.absolutePath(); - return QString(""); + return QString(); } static const char *printing_templates = "printing_templates"; 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();