diff options
Diffstat (limited to 'src/iconmanager.cpp')
-rw-r--r-- | src/iconmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/iconmanager.cpp b/src/iconmanager.cpp index 8179ca07..e9554a02 100644 --- a/src/iconmanager.cpp +++ b/src/iconmanager.cpp @@ -74,6 +74,8 @@ KIcon IconManager::iconForUrl(const KUrl &url) return KIcon("emblem-favorite"); if (encodedUrl == QByteArray("about:downloads")) return KIcon("download"); + if (encodedUrl == QByteArray("about:tabs")) + return KIcon("tab-duplicate"); // TODO: return other mimetype icons if (url.isLocalFile()) @@ -286,6 +288,11 @@ QString IconManager::iconPathForUrl(const KUrl &url) QString icon = QL1S("file://") + KGlobal::dirs()->findResource("icon", "oxygen/16x16/actions/download.png"); return icon; } + if (encodedUrl == QByteArray("about:tabs")) + { + QString icon = QL1S("file://") + KGlobal::dirs()->findResource("icon", "oxygen/16x16/actions/tab-duplicate.png"); + return icon; + } // TODO: return other mimetype icons if (url.isLocalFile()) |