mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 02:36:10 +03:00
saving splitter state on change
to not lose it on unclean exit
This commit is contained in:
parent
cac63e85e9
commit
e76ccd5926
1 changed files with 2 additions and 0 deletions
|
@ -207,6 +207,8 @@ MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMa
|
|||
tabs->addTab(vSplitter, IconProvider::instance()->getIcon("folder-remote"), tr("Transfers"));
|
||||
|
||||
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
|
||||
connect(hSplitter, SIGNAL(splitterMoved(int, int)), this, SLOT(writeSettings()));
|
||||
connect(vSplitter, SIGNAL(splitterMoved(int, int)), this, SLOT(writeSettings()));
|
||||
|
||||
vboxLayout->addWidget(tabs);
|
||||
|
||||
|
|
Loading…
Reference in a new issue