From 34a69aa0b249da7245389df6e1f07673d9f320b8 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 85bababa3..1409ab3be 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 ebe05f542..bc2ae9fc1 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