author | sandman <sandman> | 2002-11-24 18:28:05 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-11-24 18:28:05 (UTC) |
commit | 9b78c52b7fdfd40d4d3102c2261d5dddb71c885c (patch) (side-by-side diff) | |
tree | 9ace31ea94b91bb8469b22ac126e05fffbc4c101 | |
parent | 60cf133c331f02fddee902caa13c19f63ab0f3b9 (diff) | |
download | opie-9b78c52b7fdfd40d4d3102c2261d5dddb71c885c.zip opie-9b78c52b7fdfd40d4d3102c2261d5dddb71c885c.tar.gz opie-9b78c52b7fdfd40d4d3102c2261d5dddb71c885c.tar.bz2 |
A sizeHint().height() of 200 pixel is a bit much for a 240x320 display
-rw-r--r-- | qt/qte234-for-opie091-listview.patch | 15 |
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 @@ +--- 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 ); |