Rename KIcon to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 556d8aa222
commit 30b8f9e0b3

@ -65,10 +65,10 @@ void NotifierContainer::handleGTTDEMain() {
void NotifierContainer::displayMessage(TQString title, TQString message, TQString icon, int x, int y) { void NotifierContainer::displayMessage(TQString title, TQString message, TQString icon, int x, int y) {
TQPixmap px; TQPixmap px;
KIconLoader* il = TDEGlobal::iconLoader(); TDEIconLoader* il = TDEGlobal::iconLoader();
px = il->loadIcon( icon, KIcon::NoGroup ); px = il->loadIcon( icon, TDEIcon::NoGroup );
// if (px.isNull()) { // if (px.isNull()) {
// px = il->loadIcon( "gnome_apps", KIcon::NoGroup ); // px = il->loadIcon( "gnome_apps", TDEIcon::NoGroup );
// } // }
KPassivePopup *pop = new KPassivePopup( KPassivePopup::Boxed, this, "" ); KPassivePopup *pop = new KPassivePopup( KPassivePopup::Boxed, this, "" );

Loading…
Cancel
Save