mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-24 14:41:23 +01:00
Repair macros.
This commit is contained in:
parent
f2ea3df1c8
commit
0eb2830b3b
@ -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;
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user