From c87c1d23590a2d2ea998d478a157b8bfc5c24ac6 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Tue, 15 Aug 2017 21:01:55 +0300 Subject: [PATCH] Use simpler ifdef style. --- src/gui/mainwindow.cpp | 4 ++-- src/gui/torrentcontentmodel.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 47427935e..cc40d0a46 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -105,11 +105,11 @@ #include "hidabletabwidget.h" #include "ui_mainwindow.h" -#if defined (Q_OS_MAC) +#ifdef Q_OS_MAC #include "macutilities.h" #endif -#if defined (Q_OS_MAC) +#ifdef Q_OS_MAC void qt_mac_set_dock_menu(QMenu *menu); #endif diff --git a/src/gui/torrentcontentmodel.cpp b/src/gui/torrentcontentmodel.cpp index b3176a877..45a348ce7 100644 --- a/src/gui/torrentcontentmodel.cpp +++ b/src/gui/torrentcontentmodel.cpp @@ -50,7 +50,7 @@ #include "torrentcontentmodelitem.h" #include "torrentcontentmodelfolder.h" #include "torrentcontentmodelfile.h" -#if defined(Q_OS_MAC) +#ifdef Q_OS_MAC #include "macutilities.h" #endif