summaryrefslogtreecommitdiff
authorsandman <sandman>2002-11-24 18:28:05 (UTC)
committer sandman <sandman>2002-11-24 18:28:05 (UTC)
commit9b78c52b7fdfd40d4d3102c2261d5dddb71c885c (patch) (unidiff)
tree9ace31ea94b91bb8469b22ac126e05fffbc4c101
parent60cf133c331f02fddee902caa13c19f63ab0f3b9 (diff)
downloadopie-9b78c52b7fdfd40d4d3102c2261d5dddb71c885c.zip
opie-9b78c52b7fdfd40d4d3102c2261d5dddb71c885c.tar.gz
opie-9b78c52b7fdfd40d4d3102c2261d5dddb71c885c.tar.bz2
A sizeHint().height() of 200 pixel is a bit much for a 240x320 display
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--qt/qte234-for-opie091-listview.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/qt/qte234-for-opie091-listview.patch b/qt/qte234-for-opie091-listview.patch
new file mode 100644
index 0000000..f3c541b
--- a/dev/null
+++ b/qt/qte234-for-opie091-listview.patch
@@ -0,0 +1,15 @@
1 --- src/widgets/qlistview.cpp.orig2002-11-23 23:31:19.000000000 +0100
2 +++ src/widgets/qlistview.cpp2002-11-24 00:08:51.000000000 +0100
3@@ -4968,9 +4968,9 @@
4 l = l->childItem ? l->childItem : l->siblingItem;
5
6 if ( l && l->height() )
7 -s.setHeight( s.height() + 10 * l->height() );
8- else
9 -s.setHeight( s.height() + 140 );
10 +s.setHeight( s.height() + 4 /*10*/ * l->height() );
11+ else // ^v much too big for handhelds
12 +s.setHeight( s.height() + 30 /*140*/ );
13
14 if ( s.width() > s.height() * 3 )
15 s.setHeight( s.width() / 3 );