Fix deprecated method

parent 45f88cca
Pipeline #9116 passed with stage
in 17 minutes and 38 seconds
......@@ -259,7 +259,7 @@ bool StatusBarMessageLabel::slotMessageTimeout()
if (iconName == nullptr) {
m_pixmap->setVisible(false);
} else {
m_pixmap->setPixmap(SmallIcon(iconName));
m_pixmap->setPixmap(QIcon::fromTheme(iconName).pixmap(KIconLoader::SizeSmall));
m_pixmap->setVisible(true);
}
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