mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Cleanup mainwindow startup code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user