mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Cleanup mainwindow startup code
This commit is contained in:
parent
8fd7b86f45
commit
9b6b357c9e
2 changed files with 6 additions and 9 deletions
|
@ -302,8 +302,6 @@ int main(int argc, char *argv[]){
|
|||
|
||||
#ifndef DISABLE_GUI
|
||||
MainWindow window(0, torrentCmdLine);
|
||||
if(!no_splash)
|
||||
window.raise();
|
||||
QObject::connect(&app, SIGNAL(messageReceived(const QString&)),
|
||||
&window, SLOT(processParams(const QString&)));
|
||||
app.setActivationWindow(&window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue