[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/notifications/ui
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-12-24 11:41:22
Message-ID: 20101224114122.D6768AC8AB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1209053 by mart:

backport window positioning fix


 M  +6 -1      stackdialog.cpp  


--- branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/notifications/ui/stackdialog.cpp \
#1209052:1209053 @@ -207,8 +207,11 @@
 void StackDialog::showEvent(QShowEvent *event)
 {
     Q_UNUSED(event)
+
     adjustPosition(adjustedSavedPos());
 
+    adjustWindowToTilePos();
+
     if (m_autoHide) {
         m_hideTimer->start(hideTimeout);
     }
@@ -232,8 +235,10 @@
     Q_UNUSED(event)
     adjustWindowToTilePos();
     Plasma::Dialog::resizeEvent(event);
-    adjustPosition(pos());
+    if (!m_hasCustomPosition) {
+        move(m_applet->containment()->corona()->popupPosition(m_applet, size()));
 }
+}
 
 void StackDialog::moveEvent(QMoveEvent *event)
 {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic