Commit 0c39c4a5 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Fix overlay icon.

For some reason KSNI doesn't show the overlay icon unless we send the
normal icon as a pixmap.

REVIEW: 128379

BUG: 279222
parent bb286a48
......@@ -48,7 +48,7 @@ TopLevel::TopLevel(const KAboutData *aboutData, const QString &icon, QWidget *pa
m_runningTeaTime( 0 ),
m_nextNotificationTime( 0 )
{
setIconByName(icon);
setIconByPixmap(QIcon::fromTheme(icon));
setCategory(ApplicationStatus);
setStatus(Active);
KSharedConfigPtr config = KSharedConfig::openConfig();
......
Supports Markdown
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