Replace Q_OS_WIN with Q_OS_WIN32

This commit is contained in:
Jonas Kvinge
2025-01-28 20:30:43 +01:00
parent 2799e55076
commit 0db082fca0
14 changed files with 58 additions and 58 deletions

View File

@@ -24,7 +24,7 @@
# include <sys/statvfs.h>
#endif
#ifdef Q_OS_WIN
#ifdef Q_OS_WIN32
# include <windows.h>
#endif

View File

@@ -107,7 +107,7 @@ void RevealFileInFinder(const QString &path) {
}
#endif // Q_OS_MACOS
#ifdef Q_OS_WIN
#ifdef Q_OS_WIN32
void ShowFileInExplorer(const QString &path);
void ShowFileInExplorer(const QString &path) {
QProcess::execute(u"explorer.exe"_s, QStringList() << u"/select,"_s << QDir::toNativeSeparators(path));