Browse Source

Use simpler ifdef style.

adaptive-webui-19844
sledgehammer999 7 years ago
parent
commit
c87c1d2359
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 4
      src/gui/mainwindow.cpp
  2. 2
      src/gui/torrentcontentmodel.cpp

4
src/gui/mainwindow.cpp

@ -105,11 +105,11 @@
#include "hidabletabwidget.h" #include "hidabletabwidget.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#if defined (Q_OS_MAC) #ifdef Q_OS_MAC
#include "macutilities.h" #include "macutilities.h"
#endif #endif
#if defined (Q_OS_MAC) #ifdef Q_OS_MAC
void qt_mac_set_dock_menu(QMenu *menu); void qt_mac_set_dock_menu(QMenu *menu);
#endif #endif

2
src/gui/torrentcontentmodel.cpp

@ -50,7 +50,7 @@
#include "torrentcontentmodelitem.h" #include "torrentcontentmodelitem.h"
#include "torrentcontentmodelfolder.h" #include "torrentcontentmodelfolder.h"
#include "torrentcontentmodelfile.h" #include "torrentcontentmodelfile.h"
#if defined(Q_OS_MAC) #ifdef Q_OS_MAC
#include "macutilities.h" #include "macutilities.h"
#endif #endif

Loading…
Cancel
Save