Don't wait for startup complete, it makes the applet obtain

proper geometry too late, which causes the desktop applet positioning
algorithm to calculate a wrong initial position.
CCBUG: 181854


svn path=/trunk/KDE/kdelibs/; revision=916941
This commit is contained in:
Ambroz Bizjak 2009-01-26 14:29:55 +00:00
parent 0aefb02462
commit 5e46bcc2ef
2 changed files with 0 additions and 10 deletions

View File

@ -131,14 +131,6 @@ void PopupAppletPrivate::checkExtenderAppearance(Plasma::FormFactor f)
void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
{
if (constraints & Plasma::StartupCompletedConstraint) {
startupComplete = true;
}
if (!startupComplete) {
return;
}
Plasma::FormFactor f = q->formFactor();
if (constraints & Plasma::LocationConstraint) {
@ -445,7 +437,6 @@ PopupAppletPrivate::PopupAppletPrivate(PopupApplet *applet)
popupPlacement(Plasma::FloatingPopup),
savedAspectRatio(Plasma::InvalidAspectRatioMode),
timer(0),
startupComplete(false),
popupLostFocus(false),
passive(false)
{

View File

@ -46,7 +46,6 @@ public:
Plasma::AspectRatioMode savedAspectRatio;
QTimer *timer;
QPoint clicked;
bool startupComplete : 1;
bool popupLostFocus : 1;
bool passive : 1;
};