diff --git a/src/gui/gui.pri b/src/gui/gui.pri index 4d8884512..62fbf526d 100644 --- a/src/gui/gui.pri +++ b/src/gui/gui.pri @@ -163,26 +163,6 @@ SOURCES += \ $$PWD/watchedfolderoptionsdialog.cpp \ $$PWD/watchedfoldersmodel.cpp -win32|macx { - HEADERS += $$PWD/programupdater.h - SOURCES += $$PWD/programupdater.cpp -} - -unix:!macx:dbus { - HEADERS += \ - $$PWD/powermanagement/powermanagement_x11.h \ - $$PWD/qtnotify/notifications.h - - SOURCES += \ - $$PWD/powermanagement/powermanagement_x11.cpp \ - $$PWD/qtnotify/notifications.cpp -} - -macx { - HEADERS += $$PWD/macutilities.h - OBJECTIVE_SOURCES += $$PWD/macutilities.mm -} - FORMS += \ $$PWD/aboutdialog.ui \ $$PWD/addnewtorrentdialog.ui \ @@ -223,3 +203,23 @@ stacktrace { FORMS += $$PWD/stacktracedialog.ui } } + +win32|macx { + HEADERS += $$PWD/programupdater.h + SOURCES += $$PWD/programupdater.cpp +} + +unix:!macx:dbus { + HEADERS += \ + $$PWD/powermanagement/powermanagement_x11.h \ + $$PWD/qtnotify/notifications.h + + SOURCES += \ + $$PWD/powermanagement/powermanagement_x11.cpp \ + $$PWD/qtnotify/notifications.cpp +} + +macx { + HEADERS += $$PWD/macutilities.h + OBJECTIVE_SOURCES += $$PWD/macutilities.mm +}