mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Set dialog properties at the caller site
Redundant `setModal(true)` are removed since the dialog is already opened via `open()`.
This commit is contained in:
@@ -286,7 +286,9 @@ void SearchWidget::toggleFocusBetweenLineEdits()
|
||||
|
||||
void SearchWidget::on_pluginsButton_clicked()
|
||||
{
|
||||
new PluginSelectDialog(SearchPluginManager::instance(), this);
|
||||
auto *dlg = new PluginSelectDialog(SearchPluginManager::instance(), this);
|
||||
dlg->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dlg->show();
|
||||
}
|
||||
|
||||
void SearchWidget::searchTextEdited(const QString &)
|
||||
|
||||
Reference in New Issue
Block a user