Remove wrong ifdef

This commit is contained in:
sledgehammer999
2019-03-17 14:15:50 +02:00
parent 20f2c86d25
commit f403fdb2e8

View File

@@ -149,10 +149,8 @@ Application::Application(const QString &id, int &argc, char **argv)
#if !defined(DISABLE_GUI)
setAttribute(Qt::AA_UseHighDpiPixmaps, true); // opt-in to the high DPI pixmap support
setQuitOnLastWindowClosed(false);
#if !defined(Q_OS_WIN)
setDesktopFileName("org.qbittorrent.qBittorrent");
#endif
#endif
#if defined(Q_OS_WIN) && !defined(DISABLE_GUI)
connect(this, &QGuiApplication::commitDataRequest, this, &Application::shutdownCleanup, Qt::DirectConnection);