refactor: Fix readability-use-concise-preprocessor-directives

This commit is contained in:
Lars Toenning
2025-10-25 23:04:01 +02:00
parent 7579ce8ba4
commit 707eaf0495
16 changed files with 31 additions and 30 deletions

View File

@@ -26,7 +26,7 @@
#include "misc/logmessage.h"
#include "misc/threadutils.h"
#if defined(Q_OS_MACOS)
#ifdef Q_OS_MACOS
# include "input/macos/macosinpututils.h"
#endif
@@ -422,7 +422,7 @@ void SwiftGuiStd::verifyPrerequisites()
}
else { msgs.push_back(sGui->getIContextSimulator()->verifyPrerequisites()); }
#if defined(Q_OS_MACOS)
#ifdef Q_OS_MACOS
if (!swift::input::CMacOSInputUtils::hasAccess())
{
// A log message about missing permissions is already emitted when initializing the keyboard.