Remove explicit conversion to QVariant

This commit is contained in:
Chocobo1 2019-08-17 15:23:18 +08:00
parent 1f3bf75fff
commit e3483c62ca
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
4 changed files with 33 additions and 33 deletions

View file

@ -203,7 +203,7 @@ void Application::setFileLoggerEnabled(const bool value)
QString Application::fileLoggerPath() const
{
return settings()->loadValue(KEY_FILELOGGER_PATH,
QVariant(specialFolderLocation(SpecialFolder::Data) + LOG_FOLDER)).toString();
{specialFolderLocation(SpecialFolder::Data) + LOG_FOLDER}).toString();
}
void Application::setFileLoggerPath(const QString &path)