diff --git a/src/base/preferences.cpp b/src/base/preferences.cpp index 82d1b2e38..4c2b2a98c 100644 --- a/src/base/preferences.cpp +++ b/src/base/preferences.cpp @@ -1127,12 +1127,12 @@ void Preferences::setAutoRunEnabled(bool enabled) QString Preferences::getAutoRunProgram() const { - return Utils::Fs::fromNativePath(value("AutoRun/program").toString()); + return value("AutoRun/program").toString(); } void Preferences::setAutoRunProgram(const QString &program) { - setValue("AutoRun/program", Utils::Fs::fromNativePath(program)); + setValue("AutoRun/program", program); } bool Preferences::shutdownWhenDownloadsComplete() const