summaryrefslogtreecommitdiff
path: root/qt/qte234-for-opie091-listview.patch
blob: f3c541b8aa7cf50fcbdc42246a588e053121d61e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/widgets/qlistview.cpp.orig	2002-11-23 23:31:19.000000000 +0100
+++ src/widgets/qlistview.cpp	2002-11-24 00:08:51.000000000 +0100
@@ -4968,9 +4968,9 @@
 	l = l->childItem ? l->childItem : l->siblingItem;
 
     if ( l && l->height() )
-	s.setHeight( s.height() + 10 * l->height() );
-    else
-	s.setHeight( s.height() + 140 );
+	s.setHeight( s.height() + 4 /*10*/ * l->height() );
+    else                      // ^v much too big for handhelds
+	s.setHeight( s.height() + 30 /*140*/ );
 
     if ( s.width() > s.height() * 3 )
 	s.setHeight( s.width() / 3 );