mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06: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:
@@ -88,7 +88,7 @@ PluginSelectDialog::PluginSelectDialog(SearchPluginManager *pluginManager, QWidg
|
||||
connect(m_pluginManager, &SearchPluginManager::checkForUpdatesFinished, this, &PluginSelectDialog::checkForUpdatesFinished);
|
||||
connect(m_pluginManager, &SearchPluginManager::checkForUpdatesFailed, this, &PluginSelectDialog::checkForUpdatesFailed);
|
||||
|
||||
Utils::Gui::resize(this, m_storeDialogSize);
|
||||
resize(m_storeDialogSize);
|
||||
show();
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ PluginSourceDialog::PluginSourceDialog(QWidget *parent)
|
||||
m_ui->setupUi(this);
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
Utils::Gui::resize(this, m_storeDialogSize);
|
||||
resize(m_storeDialogSize);
|
||||
show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user