diff --git a/resources/resources.cpp b/resources/resources.cpp index cec5989..87b2048 100644 --- a/resources/resources.cpp +++ b/resources/resources.cpp @@ -175,7 +175,7 @@ QString locateConfigFile(const QString &applicationName, const QString &fileName } } // check whether there is a user created version of the file under /etc/app/ -#if Q_OS_WIN32 +#ifdef Q_OS_WIN32 // use relative paths on Windows path = QStringLiteral("../etc/") % applicationName % QChar('/') % fileName; if(QFile::exists(path)) {