mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
Various macOS UI improvements
This commit is contained in:
parent
c614c66535
commit
d25467d3e6
20 changed files with 358 additions and 90 deletions
|
@ -214,7 +214,11 @@ void AddNewTorrentDialog::show(QString source, const BitTorrent::AddTorrentParam
|
|||
ok = dlg->loadTorrent(source);
|
||||
|
||||
if (ok)
|
||||
#ifdef Q_OS_MAC
|
||||
dlg->exec();
|
||||
#else
|
||||
dlg->open();
|
||||
#endif
|
||||
else
|
||||
delete dlg;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue