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:
parent
ab3c351e5a
commit
3729649f6b
|
@ -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()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user