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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/containments/panel
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-06-01 17:55:41
Message-ID: 1243878941.941147.18523.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 976449 by aseigo:

the layout handles rtl in this case for us


 M  +1 -7      panel.cpp  


--- trunk/KDE/kdebase/workspace/plasma/containments/panel/panel.cpp #976448:976449
@@ -225,7 +225,6 @@
         }
     }
 
-
     if (useSpacer) {
         if (!m_lastSpace) {
             m_lastSpace = new QGraphicsWidget(this);
@@ -238,7 +237,6 @@
         delete m_lastSpace;
         m_lastSpace = 0;
     }
-
 }
 
 void Panel::layoutApplet(Plasma::Applet* applet, const QPointF &pos)
@@ -495,11 +493,7 @@
             bottomHeight += s.height();
             //Default to horizontal for now
         } else {
-            if (QApplication::layoutDirection() == Qt::RightToLeft) {
-                leftWidth += s.width();
-            } else {
-                rightWidth += s.width();
-            }
+            rightWidth += s.width();
         }
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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