1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fixed using new icon for search button.

This commit is contained in:
nowrep 2013-01-22 15:31:50 +01:00
parent ab3c351e5a
commit 3729649f6b

View File

@ -27,7 +27,7 @@ ClickableLabel::ClickableLabel(QWidget* parent)
void ClickableLabel::setThemeIcon(const QString &name) void ClickableLabel::setThemeIcon(const QString &name)
{ {
QIcon icon(name); QIcon icon = QIcon::fromTheme(name);
if (!icon.isNull()) { if (!icon.isNull()) {
setPixmap(icon.pixmap(size())); setPixmap(icon.pixmap(size()));