mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Option to disallow bringing the torrent dialog to the front.
This commit is contained in:
parent
909716849e
commit
08cd1c9b0c
4 changed files with 38 additions and 13 deletions
|
@ -141,6 +141,9 @@ void AddNewTorrentDialog::showMagnet(const QString& link)
|
|||
|
||||
void AddNewTorrentDialog::showEvent(QShowEvent *event) {
|
||||
QDialog::showEvent(event);
|
||||
Preferences pref;
|
||||
if (!pref.AdditionDialogFront())
|
||||
return;
|
||||
activateWindow();
|
||||
raise();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue