mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +08:00
refactor: Fix readability-use-concise-preprocessor-directives
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user