[yast-commit] r63459 - in /trunk/control-center: VERSION.cmake package/yast2-control-center.changes src/kcategorizedview.cpp src/moduleiconitem.cpp src/modulesview.cpp src/modulesview.h
Author: tgoettlicher
Date: Tue Feb 22 17:31:20 2011
New Revision: 63459
URL: http://svn.opensuse.org/viewcvs/yast?rev=63459&view=rev
Log:
fixed bnc #650907: yast2 shrinks module selector item on search
clean-up
Removed:
trunk/control-center/src/modulesview.cpp
trunk/control-center/src/modulesview.h
Modified:
trunk/control-center/VERSION.cmake
trunk/control-center/package/yast2-control-center.changes
trunk/control-center/src/kcategorizedview.cpp
trunk/control-center/src/moduleiconitem.cpp
Modified: trunk/control-center/VERSION.cmake
URL: http://svn.opensuse.org/viewcvs/yast/trunk/control-center/VERSION.cmake?rev=63459&r1=63458&r2=63459&view=diff
==============================================================================
--- trunk/control-center/VERSION.cmake (original)
+++ trunk/control-center/VERSION.cmake Tue Feb 22 17:31:20 2011
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "20")
-SET(VERSION_PATCH "0")
+SET(VERSION_PATCH "1")
Modified: trunk/control-center/package/yast2-control-center.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/control-center/package/yast2-control-center.changes?rev=63459&r1=63458&r2=63459&view=diff
==============================================================================
--- trunk/control-center/package/yast2-control-center.changes (original)
+++ trunk/control-center/package/yast2-control-center.changes Tue Feb 22 17:31:20 2011
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Feb 22 17:36:58 CET 2011 - tgoettlicher@suse.de
+
+- fixed bnc #650907: yast2 shrinks module selector item on search
+- 2.20.1
+
+-------------------------------------------------------------------
Tue Feb 22 14:20:36 CET 2011 - tgoettlicher@suse.de
- bnc #661109: Layout of icons gets mixed after using search
Modified: trunk/control-center/src/kcategorizedview.cpp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/control-center/src/kcategorizedview.cpp?rev=63459&r1=63458&r2=63459&view=diff
==============================================================================
--- trunk/control-center/src/kcategorizedview.cpp (original)
+++ trunk/control-center/src/kcategorizedview.cpp Tue Feb 22 17:31:20 2011
@@ -27,6 +27,7 @@
#include <QScrollBar>
#include <QPaintEvent>
#include <QDebug>
+#include <iostream>
#include "kcategorydrawer.h"
@@ -174,10 +175,12 @@
int itemWidthPlusSeparation = listView->spacing() + itemWidth;
if (!itemWidthPlusSeparation)
itemWidthPlusSeparation++;
+
int elementsPerRow = viewportWidth / itemWidthPlusSeparation;
if (!elementsPerRow)
elementsPerRow++;
+
int column;
int row;
Modified: trunk/control-center/src/moduleiconitem.cpp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/control-center/src/moduleiconitem.cpp?rev=63459&r1=63458&r2=63459&view=diff
==============================================================================
--- trunk/control-center/src/moduleiconitem.cpp (original)
+++ trunk/control-center/src/moduleiconitem.cpp Tue Feb 22 17:31:20 2011
@@ -20,8 +20,6 @@
*/
#include "moduleiconitem.h"
-//#include
participants (1)
-
tgoettlicher@svn2.opensuse.org