mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Bringing the AddNewTorrentDialog to the front.
This commit is contained in:
parent
89b82778e6
commit
b78ea79d30
4 changed files with 27 additions and 12 deletions
|
@ -140,6 +140,13 @@ void AddNewTorrentDialog::showMagnet(const QString& link)
|
|||
dlg.exec();
|
||||
}
|
||||
|
||||
void AddNewTorrentDialog::showEvent(QShowEvent *event) {
|
||||
QDialog::showEvent(event);
|
||||
activateWindow();
|
||||
raise();
|
||||
}
|
||||
|
||||
|
||||
void AddNewTorrentDialog::showAdvancedSettings(bool show)
|
||||
{
|
||||
if (show) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue