mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Fix automatedrssdownloader position
This commit is contained in:
parent
73047e3c84
commit
2258e4d5ed
3 changed files with 9 additions and 14 deletions
|
@ -149,17 +149,15 @@ AutomatedRssDownloader::~AutomatedRssDownloader()
|
|||
|
||||
void AutomatedRssDownloader::loadSettings()
|
||||
{
|
||||
// load dialog geometry
|
||||
const Preferences *const pref = Preferences::instance();
|
||||
restoreGeometry(pref->getRssGeometry());
|
||||
resize(pref->getRssGeometrySize(this->size()));
|
||||
m_ui->hsplitter->restoreState(pref->getRssHSplitterSizes());
|
||||
}
|
||||
|
||||
void AutomatedRssDownloader::saveSettings()
|
||||
{
|
||||
// Save dialog geometry
|
||||
Preferences *const pref = Preferences::instance();
|
||||
pref->setRssGeometry(saveGeometry());
|
||||
pref->setRssGeometrySize(this->size());
|
||||
pref->setRssHSplitterSizes(m_ui->hsplitter->saveState());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue