summaryrefslogtreecommitdiff
path: root/qt
authorharlekin <harlekin>2003-04-19 22:20:06 (UTC)
committer harlekin <harlekin>2003-04-19 22:20:06 (UTC)
commitb62c40465c917e4952651b6f359e5ec76b340d3f (patch) (unidiff)
tree6528f9106c1d2099d5f7eafb48d420a5f1d2ff06 /qt
parent0374e0e52e9b754ae48ada631cad2b397feabb21 (diff)
downloadopie-b62c40465c917e4952651b6f359e5ec76b340d3f.zip
opie-b62c40465c917e4952651b6f359e5ec76b340d3f.tar.gz
opie-b62c40465c917e4952651b6f359e5ec76b340d3f.tar.bz2
set the wanted icon sizes
Diffstat (limited to 'qt') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte234-for-opie091-qtoolbutton.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/qt/qte234-for-opie091-qtoolbutton.patch b/qt/qte234-for-opie091-qtoolbutton.patch
new file mode 100644
index 0000000..62a6f0e
--- a/dev/null
+++ b/qt/qte234-for-opie091-qtoolbutton.patch
@@ -0,0 +1,29 @@
1 --- qtoolbutton.orig2003-04-19 18:59:13.000000000 +0200
2 +++ qtoolbutton.cpp2003-04-19 19:00:56.000000000 +0200
3@@ -230,7 +230,7 @@
4 else
5 QToolTip::add( this, textLabel );
6 }
7 -#endif
8+#endif
9 }
10
11
12@@ -324,12 +324,12 @@
13 QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Large, QIconSet::Normal);
14 w = pm.width();
15 h = pm.height();
16 -if ( w < 32 )
17 - w = 32;
18 -if ( h < 32 )
19 - h = 32;
20 +if ( w < 24 )
21 + w = 24;
22 +if ( h < 24 )
23 + h = 24;
24 } else {
25 -w = h = 16;
26 +w = h = 14;
27 QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal);
28 w = pm.width();
29 h = pm.height();