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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-06-05 20:22:59
Message-ID: 1244233379.971725.24390.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 978024 by mart:

the current number of tasks has nothing to do with the optimal one
BUG: 183462


 M  +2 -2      taskitemlayout.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskitemlayout.cpp #978023:978024
@@ -211,8 +211,8 @@
             m_rowSize = qMax(1, int(m_groupItem->geometry().width() / itemSize.width()));
         }
     }
-    //kDebug() << "preferred columns: " << qMax(1, qMin(m_rowSize, size()));
-    return qMax(1, qMin(m_rowSize, size()));
+    //kDebug() << "preferred columns: " << qMax(1, m_rowSize);
+    return qMax(1, m_rowSize);
 }
 // <columns,rows>
 QPair<int, int> TaskItemLayout::gridLayoutSize()
[prev in list] [next in list] [prev in thread] [next in thread] 

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