1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02: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()));