Skip to content

Commit

Permalink
core: suppress clang-format to fix MinGW specific bug with include order
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Suciu <[email protected]>
  • Loading branch information
adisuciu committed Sep 26, 2023
1 parent da6940e commit 56194fb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions core/src/pluginrepository.cpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
#include "pluginrepository.h"

#ifdef Q_OS_WINDOWS
// clang-format off
#include <windows.h>
#include <Winbase.h>
// clang-format on
#endif

#include <QApplication>
#include <QDir>
#include <QDirIterator>
#include <QJsonDocument>
#include <QLibrary>
#include <QLoggingCategory>
#include <QtGlobal>
#ifdef Q_OS_WINDOWS
#include <Winbase.h>
#include <windows.h>
#endif

Q_LOGGING_CATEGORY(CAT_PLUGINREPOSTIORY, "PluginRepository");

Expand Down

0 comments on commit 56194fb

Please sign in to comment.