Browse Source

Fix scan dirs settings saving. Closes #4254, #4239, #4187.

adaptive-webui-19844
Vladimir Golovnev (Glassez) 9 years ago
parent
commit
8014d74210
  1. 4
      src/core/preferences.cpp

4
src/core/preferences.cpp

@ -504,7 +504,7 @@ QList<bool> Preferences::getDownloadInScanDirs() const @@ -504,7 +504,7 @@ QList<bool> Preferences::getDownloadInScanDirs() const
void Preferences::setDownloadInScanDirs(const QList<bool> &list)
{
setValue("Preferences/Downloads/ScanDirsDownloadPaths", Utils::Misc::toStringList(list));
setValue("Preferences/Downloads/DownloadInScanDirs", Utils::Misc::toStringList(list));
}
void Preferences::setScanDirsDownloadPaths(const QStringList &downloadpaths)
@ -514,7 +514,7 @@ void Preferences::setScanDirsDownloadPaths(const QStringList &downloadpaths) @@ -514,7 +514,7 @@ void Preferences::setScanDirsDownloadPaths(const QStringList &downloadpaths)
QStringList Preferences::getScanDirsDownloadPaths() const
{
return value("Preferences/Downloads/DownloadPaths").toStringList();
return value("Preferences/Downloads/ScanDirsDownloadPaths").toStringList();
}
QString Preferences::getScanDirsLastPath() const

Loading…
Cancel
Save