mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -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
|
@ -94,7 +94,7 @@ PropertiesWidget::PropertiesWidget(QWidget *parent)
|
|||
// Torrent content filtering
|
||||
m_contentFilterLine = new LineEdit(this);
|
||||
m_contentFilterLine->setPlaceholderText(tr("Filter files..."));
|
||||
m_contentFilterLine->setFixedWidth(Utils::Gui::scaledSize(this, 300));
|
||||
m_contentFilterLine->setFixedWidth(300);
|
||||
connect(m_contentFilterLine, &LineEdit::textChanged, this, &PropertiesWidget::filterText);
|
||||
m_ui->contentFilterLayout->insertWidget(3, m_contentFilterLine);
|
||||
|
||||
|
@ -117,7 +117,7 @@ PropertiesWidget::PropertiesWidget(QWidget *parent)
|
|||
connect(m_ui->filesList->header(), &QHeaderView::sortIndicatorChanged, this, &PropertiesWidget::saveSettings);
|
||||
|
||||
// set bar height relative to screen dpi
|
||||
const int barHeight = Utils::Gui::scaledSize(this, 18);
|
||||
const int barHeight = 18;
|
||||
|
||||
// Downloaded pieces progress bar
|
||||
m_ui->tempProgressBarArea->setVisible(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue