mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Move main window setting to its own section
This commit is contained in:
parent
b8a7ecfe69
commit
2d48581570
1 changed files with 2 additions and 2 deletions
|
@ -1296,12 +1296,12 @@ void Preferences::setMainVSplitterState(const QByteArray &state)
|
||||||
|
|
||||||
QString Preferences::getMainLastDir() const
|
QString Preferences::getMainLastDir() const
|
||||||
{
|
{
|
||||||
return value("MainWindowLastDir", QDir::homePath());
|
return value("MainWindow/LastDir", QDir::homePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Preferences::setMainLastDir(const QString &path)
|
void Preferences::setMainLastDir(const QString &path)
|
||||||
{
|
{
|
||||||
setValue("MainWindowLastDir", path);
|
setValue("MainWindow/LastDir", path);
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray Preferences::getPeerListState() const
|
QByteArray Preferences::getPeerListState() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue