mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07:00
Fix RSS panel position not saved
This commit is contained in:
parent
9d051ea523
commit
4f504f597d
2 changed files with 12 additions and 12 deletions
|
@ -635,11 +635,11 @@ void RSSImp::saveSlidersPosition()
|
|||
void RSSImp::restoreSlidersPosition()
|
||||
{
|
||||
const Preferences* const pref = Preferences::instance();
|
||||
QByteArray pos_h = pref->getRssHSplitterState();
|
||||
if (!pos_h.isNull())
|
||||
const QByteArray pos_h = pref->getRssHSplitterState();
|
||||
if (!pos_h.isEmpty())
|
||||
splitter_h->restoreState(pos_h);
|
||||
QByteArray pos_v = pref->getRssVSplitterState();
|
||||
if (!pos_v.isNull())
|
||||
const QByteArray pos_v = pref->getRssVSplitterState();
|
||||
if (!pos_v.isEmpty())
|
||||
splitter_v->restoreState(pos_v);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue