Bringing the AddNewTorrentDialog to the front.

This commit is contained in:
Vladimir Golovnev (Glassez) 2013-09-17 16:18:01 +04:00
parent 89b82778e6
commit b78ea79d30
4 changed files with 27 additions and 12 deletions

View file

@ -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) {