Replace Q_OS_LINUX with Q_OS_UNIX !Q_OS_MAC where possible.

This commit is contained in:
Felix Kauselmann 2014-08-08 21:13:59 +02:00
parent 2c0703fba5
commit 4de5789c5f

View File

@ -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