don't implicitly create the extender in the default implementation of graphicsWidget()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862090
This commit is contained in:
parent
6e2506d5cc
commit
1459f1cd32
@ -32,11 +32,12 @@
|
||||
#include <KWindowSystem>
|
||||
#include <KGlobalSettings>
|
||||
|
||||
#include <plasma/dialog.h>
|
||||
#include <plasma/corona.h>
|
||||
#include <plasma/containment.h>
|
||||
#include <plasma/extender.h>
|
||||
#include <plasma/widgets/icon.h>
|
||||
#include "plasma/private/applet_p.h"
|
||||
#include "plasma/dialog.h"
|
||||
#include "plasma/corona.h"
|
||||
#include "plasma/containment.h"
|
||||
#include "plasma/extender.h"
|
||||
#include "plasma/widgets/icon.h"
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
@ -149,7 +150,7 @@ QWidget *PopupApplet::widget()
|
||||
|
||||
QGraphicsWidget *PopupApplet::graphicsWidget()
|
||||
{
|
||||
return extender();
|
||||
return static_cast<Applet*>(this)->d->extender;
|
||||
}
|
||||
|
||||
void PopupApplet::constraintsEvent(Plasma::Constraints constraints)
|
||||
|
Loading…
x
Reference in New Issue
Block a user