mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-27 06:54:20 +00:00
Move transfer list filter on the right side of the toolbar
This commit is contained in:
parent
0eec718354
commit
816cfefbac
@ -174,13 +174,14 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
||||
vboxLayout->addWidget(tabs);
|
||||
// Name filter
|
||||
search_filter = new LineEdit();
|
||||
toolBar->insertWidget(actionLock_qBittorrent, search_filter);
|
||||
search_filter->setFixedWidth(200);
|
||||
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
|
||||
|
||||
QAction *searchSeparatorAct = toolBar->insertSeparator(actionLock_qBittorrent);
|
||||
QAction *searchFilterAct = toolBar->insertWidget(searchSeparatorAct, search_filter);
|
||||
search_filter->setFixedWidth(200);
|
||||
QWidget *spacer = new QWidget(this);
|
||||
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
toolBar->insertWidget(actionLock_qBittorrent, spacer);
|
||||
toolBar->insertWidget(searchFilterAct, spacer);
|
||||
|
||||
|
||||
prioSeparator = toolBar->insertSeparator(actionDecreasePriority);
|
||||
prioSeparatorMenu = menu_Edit->insertSeparator(actionDecreasePriority);
|
||||
|
@ -133,7 +133,6 @@
|
||||
<addaction name="actionIncreasePriority"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionOptions"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionLock_qBittorrent"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user