From 4a8dd8c493a590ccebb802f522528a0039d8c468 Mon Sep 17 00:00:00 2001 From: Lionel Chauvin Date: Mon, 14 Feb 2011 22:34:34 +0100 Subject: Replace webshorcuts icons and text. Text: webshortcuts ---> search engines Icon: web-browser-shorctus ---> edit-web-search Reviewed by adjam --- src/urlbar/webshortcutwidget.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/urlbar/webshortcutwidget.cpp') diff --git a/src/urlbar/webshortcutwidget.cpp b/src/urlbar/webshortcutwidget.cpp index 629e7fb2..2637efc7 100644 --- a/src/urlbar/webshortcutwidget.cpp +++ b/src/urlbar/webshortcutwidget.cpp @@ -42,7 +42,13 @@ WebShortcutWidget::WebShortcutWidget(QWidget *parent) QHBoxLayout *titleLayout = new QHBoxLayout(); mainLayout->addLayout(titleLayout); QLabel *iconLabel = new QLabel(this); - KIcon wsIcon("preferences-web-browser-shortcuts"); + + KIcon wsIcon("edit-web-search"); + if (wsIcon.isNull()) + { + wsIcon = KIcon("preferences-web-browser-shortcuts"); + } + iconLabel->setPixmap(wsIcon.pixmap(22, 22)); titleLayout->addWidget(iconLabel); m_searchTitleLabel = new QLabel(i18n("Add Search Engine"), this); -- cgit v1.2.1