mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Code clean up
This commit is contained in:
parent
9c13ed2635
commit
126e2e7c75
31 changed files with 279 additions and 309 deletions
|
@ -43,7 +43,7 @@
|
|||
#include <QPushButton>
|
||||
#include <QTimer>
|
||||
#include "sessionapplication.h"
|
||||
#include "GUI.h"
|
||||
#include "mainwindow.h"
|
||||
#include "ico.h"
|
||||
#else
|
||||
#include "qtsinglecoreapplication.h"
|
||||
|
@ -295,7 +295,7 @@ int main(int argc, char *argv[]){
|
|||
// Remove first argument (program name)
|
||||
torrentCmdLine.removeFirst();
|
||||
#ifndef DISABLE_GUI
|
||||
GUI window(0, torrentCmdLine);
|
||||
MainWindow window(0, torrentCmdLine);
|
||||
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