|
|
@ -92,7 +92,6 @@ Application::Application(const QString &id, int &argc, char **argv) |
|
|
|
setApplicationName("qBittorrent"); |
|
|
|
setApplicationName("qBittorrent"); |
|
|
|
initializeTranslation(); |
|
|
|
initializeTranslation(); |
|
|
|
#ifndef DISABLE_GUI |
|
|
|
#ifndef DISABLE_GUI |
|
|
|
setStyleSheet("QStatusBar::item { border-width: 0; }"); |
|
|
|
|
|
|
|
setQuitOnLastWindowClosed(false); |
|
|
|
setQuitOnLastWindowClosed(false); |
|
|
|
#ifdef Q_OS_WIN |
|
|
|
#ifdef Q_OS_WIN |
|
|
|
connect(this, SIGNAL(commitDataRequest(QSessionManager &)), this, SLOT(shutdownCleanup(QSessionManager &)), Qt::DirectConnection); |
|
|
|
connect(this, SIGNAL(commitDataRequest(QSessionManager &)), this, SLOT(shutdownCleanup(QSessionManager &)), Qt::DirectConnection); |
|
|
|