mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-08 06:00:59 -07:00
Remove obsoleted functions from Utils::Gui namespace
`widget` parameter is kept for now to avoid major disruption for other PR. Also add comments for loading svg images. PR #16613.
This commit is contained in:
parent
1b53c590f2
commit
88fe94bd6a
24 changed files with 45 additions and 65 deletions
|
@ -209,7 +209,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
// Name filter
|
||||
m_searchFilter = new LineEdit(this);
|
||||
m_searchFilter->setPlaceholderText(tr("Filter torrent names..."));
|
||||
m_searchFilter->setFixedWidth(Utils::Gui::scaledSize(this, 200));
|
||||
m_searchFilter->setFixedWidth(200);
|
||||
m_searchFilter->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(m_searchFilter, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);
|
||||
m_searchFilterAction = m_ui->toolBar->insertWidget(m_ui->actionLock, m_searchFilter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue