-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 @@ | |||
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 ); | ||