Repair macros.

This commit is contained in:
Martin Rotter 2016-06-25 09:15:33 +02:00
parent f2ea3df1c8
commit 0eb2830b3b
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ bool FormUpdate::isUpdateForThisSystem() const {
}
bool FormUpdate::isSelfUpdateSupported() const {
#if defined(Q_OS_WIN32)
#if defined(Q_OS_WIN)
return true;
#else
return false;

View File

@ -259,7 +259,7 @@ bool SystemFactory::isVersionEqualOrNewer(const QString &new_version, const QStr
}
bool SystemFactory::openFolderFile(const QString &file_path) {
#if defined(Q_OS_WIN32)
#if defined(Q_OS_WIN)
return QProcess::startDetached(QString("explorer.exe /select, \"") + QDir::toNativeSeparators(file_path) + "\"");
#else
const QString folder = QDir::toNativeSeparators(QFileInfo(file_path).absoluteDir().absolutePath());