Browse Source

Move main window setting to its own section

adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
2d48581570
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/base/preferences.cpp

4
src/base/preferences.cpp

@ -1296,12 +1296,12 @@ void Preferences::setMainVSplitterState(const QByteArray &state) @@ -1296,12 +1296,12 @@ void Preferences::setMainVSplitterState(const QByteArray &state)
QString Preferences::getMainLastDir() const
{
return value("MainWindowLastDir", QDir::homePath());
return value("MainWindow/LastDir", QDir::homePath());
}
void Preferences::setMainLastDir(const QString &path)
{
setValue("MainWindowLastDir", path);
setValue("MainWindow/LastDir", path);
}
QByteArray Preferences::getPeerListState() const

Loading…
Cancel
Save