Commit 13a73554 authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Remove old code for default icon

parent 3cfd4f67
Pipeline #158873 passed with stage
in 4 minutes and 50 seconds
...@@ -108,11 +108,7 @@ QString KonqPixmapProvider::iconNameFor(const QUrl &url) ...@@ -108,11 +108,7 @@ QString KonqPixmapProvider::iconNameFor(const QUrl &url)
if (url.url().isEmpty()) { if (url.url().isEmpty()) {
// Use the folder icon for the empty URL // Use the folder icon for the empty URL
QMimeDatabase db;
const QMimeType directoryType = db.mimeTypeForName(QStringLiteral("inode/directory"));
icon = directoryType.iconName();
icon = "konqueror"; icon = "konqueror";
Q_ASSERT(!icon.isEmpty());
} else { } else {
icon = KIO::iconNameForUrl(url); icon = KIO::iconNameForUrl(url);
Q_ASSERT(!icon.isEmpty()); Q_ASSERT(!icon.isEmpty());
......
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