mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Make sure the main windows has focus on start up
This commit is contained in:
@@ -237,6 +237,8 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
||||
} else {
|
||||
if(pref.startMinimized())
|
||||
showMinimized();
|
||||
else
|
||||
setFocus();
|
||||
}
|
||||
|
||||
// Start watching the executable for updates
|
||||
|
||||
Reference in New Issue
Block a user