Don't let "program update" dialog steal focus

And also avoid creating an unnecessary event loop.
Closes #14250.
This commit is contained in:
Chocobo1 2021-01-20 12:12:07 +08:00
commit 44e4dd3700
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 48 additions and 26 deletions

View file

@ -135,7 +135,7 @@ private slots:
void askRecursiveTorrentDownloadConfirmation(BitTorrent::Torrent *const torrent);
void optionsSaved();
#if defined(Q_OS_WIN) || defined(Q_OS_MACOS)
void handleUpdateCheckFinished(bool updateAvailable, QString newVersion, bool invokedByUser);
void handleUpdateCheckFinished(bool updateAvailable, const QString &newVersion, bool invokedByUser);
#endif
void toggleAlternativeSpeeds();