Browse Source

Remove wrong ifdef

adaptive-webui-19844
sledgehammer999 6 years ago
parent
commit
f403fdb2e8
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 2
      src/app/application.cpp

2
src/app/application.cpp

@ -149,10 +149,8 @@ Application::Application(const QString &id, int &argc, char **argv) @@ -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);

Loading…
Cancel
Save