mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Make sure the main windows has focus on start up
This commit is contained in:
parent
486f9c55dd
commit
f772e28bf9
2 changed files with 4 additions and 0 deletions
|
@ -237,6 +237,8 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||
} else {
|
||||
if(pref.startMinimized())
|
||||
showMinimized();
|
||||
else
|
||||
setFocus();
|
||||
}
|
||||
|
||||
// Start watching the executable for updates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue