From 4de5789c5fd372e706323f29b94f8e2facba354d Mon Sep 17 00:00:00 2001 From: Felix Kauselmann <2039670+selmf@users.noreply.github.com> Date: Fri, 8 Aug 2014 21:13:59 +0200 Subject: [PATCH] Replace Q_OS_LINUX with Q_OS_UNIX !Q_OS_MAC where possible. --- YACReaderLibrary/library_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index 6a33ad31..18c5d3c7 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1582,7 +1582,7 @@ void LibraryWindow::openContainingFolderComic() { QModelIndex modelIndex = comicView->currentIndex(); QFileInfo file = QDir::cleanPath(currentPath() + dmCV->getComicPath(modelIndex)); -#ifdef Q_OS_LINUX +#if defined Q_OS_UNIX && !defined Q_OS_MAC QString path = file.absolutePath(); QDesktopServices::openUrl(QUrl("file:///"+path, QUrl::TolerantMode)); #endif