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) (side-by-side diff)
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 @@
+--- qtoolbutton.orig 2003-04-19 18:59:13.000000000 +0200
++++ qtoolbutton.cpp 2003-04-19 19:00:56.000000000 +0200
+@@ -230,7 +230,7 @@
+ else
+ QToolTip::add( this, textLabel );
+ }
+-#endif
++#endif
+ }
+
+
+@@ -324,12 +324,12 @@
+ QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Large, QIconSet::Normal);
+ w = pm.width();
+ h = pm.height();
+- if ( w < 32 )
+- w = 32;
+- if ( h < 32 )
+- h = 32;
++ if ( w < 24 )
++ w = 24;
++ if ( h < 24 )
++ h = 24;
+ } else {
+- w = h = 16;
++ w = h = 14;
+ QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal);
+ w = pm.width();
+ h = pm.height();