From e934258c1e5c9f35db5df5541835b75a75a8a34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 7 Dec 2013 11:50:44 +0100 Subject: [PATCH] fixed "Open containing folder" --- YACReaderLibrary/library_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index ce71b0ff..ce395564 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1445,7 +1445,7 @@ QFileInfo file = QDir::cleanPath(currentPath() + dmCV->getComicPath(modelIndex)) QDesktopServices::openUrl(QUrl("file:///"+path, QUrl::TolerantMode)); #endif -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC QString filePath = file.absoluteFilePath(); QStringList args; args << "-e"; @@ -1459,7 +1459,7 @@ QFileInfo file = QDir::cleanPath(currentPath() + dmCV->getComicPath(modelIndex)) QProcess::startDetached("osascript", args); #endif -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN QString filePath = file.absoluteFilePath(); QStringList args; args << "/select," << QDir::toNativeSeparators(filePath);