[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/dataengines/notifications
From: Rob Scheepmaker <r.scheepmaker () student ! utwente ! nl>
Date: 2009-03-25 17:20:56
Message-ID: 1238001656.535757.26395.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 944544 by scheepmaker:
Always set the image even if there isn't any, so that if an notification get's \
replaced with one without an image, it doesn't keep the old image.
M +2 -2 notificationsengine.cpp
--- trunk/KDE/kdebase/workspace/plasma/dataengines/notifications/notificationsengine.cpp \
#944543:944544 @@ -71,11 +71,11 @@
notificationData.insert("actions", actions);
notificationData.insert("expireTimeout", timeout);
+ QImage image;
if (hints.contains("image_data")) {
- QImage image;
image.loadFromData(hints["image_data"].toByteArray());
- notificationData.insert("image", image);
}
+ notificationData.insert("image", image);
setData(QString("notification %1").arg(id), notificationData );
return id;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic