fix: simplify openPath calls
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
e5b608447a
commit
67d088dc53
2 changed files with 2 additions and 3 deletions
|
@ -1452,7 +1452,7 @@ void MainWindow::on_actionViewSelectedInstFolder_triggered()
|
|||
{
|
||||
if (m_selectedInstance) {
|
||||
QString str = m_selectedInstance->instanceRoot();
|
||||
DesktopServices::openPath(QDir(str).absolutePath());
|
||||
DesktopServices::openPath(QFileInfo(str));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue