aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--singleapplication_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/singleapplication_p.cpp b/singleapplication_p.cpp
index 4568573..ce84d3c 100644
--- a/singleapplication_p.cpp
+++ b/singleapplication_p.cpp
@@ -144,7 +144,7 @@ void SingleApplicationPrivate::genBlockServerName()
}
if( ! (options & SingleApplication::Mode::ExcludeAppPath) ){
-#ifdef Q_OS_WIN
+#if defined(Q_OS_WIN)
appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() );
#elseif defined(Q_OS_LINUX)
// If the application is running as an AppImage then the APPIMAGE env var should be used