mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Correctly test QString for being empty
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
901bfb5455
commit
439c2e0473
1 changed files with 2 additions and 4 deletions
|
@ -81,10 +81,8 @@ void DiveLogExportDialog::exportHtmlInit(QString filename)
|
|||
export_HTML(json_dive_data.toUtf8().data(), ui->exportSelectedDives->isChecked());
|
||||
|
||||
QString searchPath = getSubsurfaceDataPath("theme");
|
||||
|
||||
if (searchPath == "") {
|
||||
return;
|
||||
}
|
||||
if (searchPath.isEmpty())
|
||||
return;
|
||||
|
||||
QFile *tmpFile;
|
||||
|
||||
|
|
Loading…
Reference in a new issue