mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-03 03:20:22 +03:00
Merge pull request #10385 from sledgehammer999/desktopFile
Remove wrong ifdef
This commit is contained in:
commit
6c9368ef36
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue