fixed #ifdef

This commit is contained in:
Martchus 2015-09-22 01:53:38 +02:00
parent 5c89dbbb87
commit 8b4574de97
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {