Browse Source

Save "Run external program" input as is. Closes #4830.

adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
6835b99f10
  1. 4
      src/base/preferences.cpp

4
src/base/preferences.cpp

@ -1127,12 +1127,12 @@ void Preferences::setAutoRunEnabled(bool enabled) @@ -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

Loading…
Cancel
Save