[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/arts/knotify
From: Tobias Koenig <tokoe () kde ! org>
Date: 2003-10-30 14:12:25
[Download RAW message or body]
CVS commit by tokoe:
The crash is in KConfigGroup, which got a null pointer as first argument...
this was caused by a not existing config file for 'appName'.
It should be fixed now.
CCMAIL:65809-done@bugs.kde.org
M +9 -5 knotify.cpp 1.88
--- kdelibs/arts/knotify/knotify.cpp #1.87:1.88
@@ -552,4 +552,5 @@ bool KNotify::notifyByPassivePopup( cons
{
KIconLoader iconLoader( appName );
+ if ( d->events.find( appName ) != d->events.end() ) {
KConfigGroup config( d->events[ appName ], "!Global!" );
QString iconName = config.readEntry( "IconName", appName );
@@ -557,4 +558,7 @@ bool KNotify::notifyByPassivePopup( cons
QString title = config.readEntry( "Comment", appName );
KPassivePopup::message(title, text, icon, senderWinId);
+ } else
+ kdError() << "No events for app " << appName << "defined!" <<endl;
+
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic