mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
parent
160af4feef
commit
4550469bb9
@ -199,6 +199,7 @@ MainWindow::MainWindow(IGUIApplication *app, WindowState initialState)
|
|||||||
// Torrent filter
|
// Torrent filter
|
||||||
m_columnFilterEdit = new LineEdit;
|
m_columnFilterEdit = new LineEdit;
|
||||||
m_columnFilterEdit->setPlaceholderText(tr("Filter torrents..."));
|
m_columnFilterEdit->setPlaceholderText(tr("Filter torrents..."));
|
||||||
|
m_columnFilterEdit->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||||
m_columnFilterEdit->setFixedWidth(200);
|
m_columnFilterEdit->setFixedWidth(200);
|
||||||
m_columnFilterEdit->setContextMenuPolicy(Qt::CustomContextMenu);
|
m_columnFilterEdit->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(m_columnFilterEdit, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);
|
connect(m_columnFilterEdit, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);
|
||||||
|
Loading…
Reference in New Issue
Block a user