Commit 3cfd4f67 authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Use Konqueror icon instead of folder icon when the URL is empty

parent 685fdb3a
Pipeline #158872 passed with stage
in 4 minutes and 38 seconds
......@@ -111,6 +111,7 @@ QString KonqPixmapProvider::iconNameFor(const QUrl &url)
QMimeDatabase db;
const QMimeType directoryType = db.mimeTypeForName(QStringLiteral("inode/directory"));
icon = directoryType.iconName();
icon = "konqueror";
Q_ASSERT(!icon.isEmpty());
} else {
icon = KIO::iconNameForUrl(url);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment