destroy the message overay proxy widget if it exists and we get rid of the message overlay
svn path=/trunk/KDE/kdelibs/; revision=979518
This commit is contained in:
parent
42de815ffb
commit
5dd5576d60
10
applet.cpp
10
applet.cpp
@ -546,9 +546,15 @@ void AppletPrivate::destroyMessageOverlay()
|
|||||||
if (!messageOverlay) {
|
if (!messageOverlay) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
messageOverlay->destroy();
|
|
||||||
|
|
||||||
messageOverlay = 0;
|
messageOverlay->destroy();
|
||||||
|
essageOverlay = 0;
|
||||||
|
|
||||||
|
if (messageOverlayProxy) {
|
||||||
|
messageOverlayProxy->setWidget(0);
|
||||||
|
delete messageOverlayProxy;
|
||||||
|
messageOverlayProxy = 0;
|
||||||
|
}
|
||||||
|
|
||||||
MessageButton buttonCode = ButtonNo;
|
MessageButton buttonCode = ButtonNo;
|
||||||
//find out if we're disappearing because of a button press
|
//find out if we're disappearing because of a button press
|
||||||
|
Loading…
Reference in New Issue
Block a user