Commit b4786590 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix deprecated method

parent 45f88cca
Pipeline #9116 passed with stage
in 17 minutes and 38 seconds
...@@ -259,7 +259,7 @@ bool StatusBarMessageLabel::slotMessageTimeout() ...@@ -259,7 +259,7 @@ bool StatusBarMessageLabel::slotMessageTimeout()
if (iconName == nullptr) { if (iconName == nullptr) {
m_pixmap->setVisible(false); m_pixmap->setVisible(false);
} else { } else {
m_pixmap->setPixmap(SmallIcon(iconName)); m_pixmap->setPixmap(QIcon::fromTheme(iconName).pixmap(KIconLoader::SizeSmall));
m_pixmap->setVisible(true); m_pixmap->setVisible(true);
} }
m_queueSemaphore.release(); m_queueSemaphore.release();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment