Commit 78ef74f1 authored by Patrick José Pereira's avatar Patrick José Pereira

QGCQFileDialog: Avoid QString initialization of empty string

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 4885d2f5
......@@ -159,7 +159,7 @@ QString QGCQFileDialog::getSaveFileName(
}
break;
}
return QString("");
return {};
}
}
......@@ -190,7 +190,7 @@ QString QGCQFileDialog::_getFirstExtensionInFilter(const QString& filter) {
return match.captured(0).mid(2);
}
}
return QString("");
return {};
}
/// @brief Validates and updates the parameters for the file dialog calls
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment