|
|
@ -296,6 +296,8 @@ int main(int argc, char *argv[]){ |
|
|
|
torrentCmdLine.removeFirst(); |
|
|
|
torrentCmdLine.removeFirst(); |
|
|
|
#ifndef DISABLE_GUI |
|
|
|
#ifndef DISABLE_GUI |
|
|
|
MainWindow window(0, torrentCmdLine); |
|
|
|
MainWindow window(0, torrentCmdLine); |
|
|
|
|
|
|
|
if(!no_splash) |
|
|
|
|
|
|
|
QObject::connect(splash, SIGNAL(destroyed()), &window, SLOT(raise())); |
|
|
|
QObject::connect(&app, SIGNAL(messageReceived(const QString&)), |
|
|
|
QObject::connect(&app, SIGNAL(messageReceived(const QString&)), |
|
|
|
&window, SLOT(processParams(const QString&))); |
|
|
|
&window, SLOT(processParams(const QString&))); |
|
|
|
app.setActivationWindow(&window); |
|
|
|
app.setActivationWindow(&window); |
|
|
|