1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Use new key for storing RSS splitter_v value.

So that old value won't override the RSS layout.
This commit is contained in:
Chocobo1 2016-11-11 00:16:51 +08:00
parent 7d34a89efd
commit 6b835f53ce

View File

@ -1305,18 +1305,18 @@ void Preferences::setRssHSplitterState(const QByteArray &state)
QByteArray Preferences::getRssVSplitterState() const
{
#ifdef QBT_USES_QT5
return value("Rss/qt5/splitter_v").toByteArray();
return value("Rss/qt5/splitterV").toByteArray();
#else
return value("Rss/splitter_v").toByteArray();
return value("Rss/splitterV").toByteArray();
#endif
}
void Preferences::setRssVSplitterState(const QByteArray &state)
{
#ifdef QBT_USES_QT5
setValue("Rss/qt5/splitter_v", state);
setValue("Rss/qt5/splitterV", state);
#else
setValue("Rss/splitter_v", state);
setValue("Rss/splitterV", state);
#endif
}