mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Use constructor explicitly
This commit is contained in:
@ -2377,7 +2377,7 @@ void LibraryWindow::asignNumbers()
|
||||
void LibraryWindow::openContainingFolderComic()
|
||||
{
|
||||
QModelIndex modelIndex = comicsViewsManager->comicsView->currentIndex();
|
||||
QFileInfo file = QDir::cleanPath(currentPath() + comicsModel->getComicPath(modelIndex));
|
||||
QFileInfo file(QDir::cleanPath(currentPath() + comicsModel->getComicPath(modelIndex)));
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
QString path = file.absolutePath();
|
||||
QDesktopServices::openUrl(QUrl("file:///" + path, QUrl::TolerantMode));
|
||||
|
Reference in New Issue
Block a user