diff --git a/application.cpp b/application.cpp index ee1126e..bc57f94 100644 --- a/application.cpp +++ b/application.cpp @@ -94,9 +94,13 @@ void Application::openWindow(const QString &path) QStringList Application::formatUriList(const QStringList &list) { - QStringList val = list; + QStringList val; - if (list.isEmpty()) { + for (const QString &path : list) { + val.append(path == "." ? QDir::currentPath() : path); + } + + if (val.isEmpty()) { val.append(QDir::currentPath()); }