mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Replace Q_OS_LINUX with Q_OS_UNIX !Q_OS_MAC where possible.
This commit is contained in:
parent
2c0703fba5
commit
4de5789c5f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user