fixed #ifdef
This commit is contained in:
parent
5c89dbbb87
commit
8b4574de97
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue