mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
Use constructor explicitly
This commit is contained in:
parent
47e7eb3801
commit
2c0dccd764
@ -2377,7 +2377,7 @@ void LibraryWindow::asignNumbers()
|
|||||||
void LibraryWindow::openContainingFolderComic()
|
void LibraryWindow::openContainingFolderComic()
|
||||||
{
|
{
|
||||||
QModelIndex modelIndex = comicsViewsManager->comicsView->currentIndex();
|
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
|
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||||
QString path = file.absolutePath();
|
QString path = file.absolutePath();
|
||||||
QDesktopServices::openUrl(QUrl("file:///" + path, QUrl::TolerantMode));
|
QDesktopServices::openUrl(QUrl("file:///" + path, QUrl::TolerantMode));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user