mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Cleanup: replace QString("") by QString()
That should be more effective. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
37c159aae1
commit
d5953318ca
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue