mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 11:24:15 +00:00
Reduce top toolbar spacing
This commit is contained in:
parent
793c1be9bd
commit
9ba3862be1
@ -84,7 +84,7 @@ void qt_mac_set_dock_menu(QMenu *menu);
|
|||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
#define TIME_TRAY_BALLOON 5000
|
#define TIME_TRAY_BALLOON 5000
|
||||||
#define TOOLBAR_SPACING 10
|
#define TOOLBAR_SPACING 0
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
* *
|
* *
|
||||||
@ -175,8 +175,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||||||
// Name filter
|
// Name filter
|
||||||
search_filter = new LineEdit();
|
search_filter = new LineEdit();
|
||||||
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
|
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
|
||||||
QAction *searchSeparatorAct = toolBar->insertSeparator(actionLock_qBittorrent);
|
QAction *searchFilterAct = toolBar->insertWidget(actionLock_qBittorrent, search_filter);
|
||||||
QAction *searchFilterAct = toolBar->insertWidget(searchSeparatorAct, search_filter);
|
|
||||||
search_filter->setFixedWidth(200);
|
search_filter->setFixedWidth(200);
|
||||||
QWidget *spacer = new QWidget(this);
|
QWidget *spacer = new QWidget(this);
|
||||||
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user