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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks (silent)
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2009-09-14 14:31:57
Message-ID: 1252938717.333209.25956.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1023328 by alexmerry:

SVN_SILENT: put the comment by the code it refers to



 M  +1 -1      taskitemlayout.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskitemlayout.cpp #1023327:1023328
@@ -182,10 +182,10 @@
         return m_maxRows;
     }
 
-    // in this case rows are columns, columns are rows...
     //TODO basicPreferredSize isn't the optimal source here because  it changes because of margins probably
     QSizeF itemSize = m_itemPositions.first()->basicPreferredSize();
     if (m_layoutOrientation == Qt::Vertical) {
+        // in this case rows are columns, columns are rows...
         maxRows = qMin(qMax(1, int(m_groupItem->geometry().width() / itemSize.width())), m_maxRows);
     } else {
         maxRows = qMin(qMax(1, int(m_groupItem->geometry().height() / itemSize.height())), m_maxRows);
[prev in list] [next in list] [prev in thread] [next in thread] 

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