author | kergoth <kergoth> | 2003-04-20 06:18:10 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-20 06:18:10 (UTC) |
commit | 6b381e438fdeb1757b3278c683349dee9c4ab230 (patch) (unidiff) | |
tree | e5a7ca314662b142c419ae2ab9671dd834da3806 | |
parent | 138fbbf45ce46228f2bec63099e0bc3a4e0537e2 (diff) | |
download | opie-6b381e438fdeb1757b3278c683349dee9c4ab230.zip opie-6b381e438fdeb1757b3278c683349dee9c4ab230.tar.gz opie-6b381e438fdeb1757b3278c683349dee9c4ab230.tar.bz2 |
Correct paths so patch applies with -p0 in $QTDIR
-rw-r--r-- | qt/qte234-for-opie091-qtoolbutton.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/qte234-for-opie091-qtoolbutton.patch b/qt/qte234-for-opie091-qtoolbutton.patch index 62a6f0e..2e5c13a 100644 --- a/qt/qte234-for-opie091-qtoolbutton.patch +++ b/qt/qte234-for-opie091-qtoolbutton.patch | |||
@@ -1,29 +1,29 @@ | |||
1 | --- qtoolbutton.orig2003-04-19 18:59:13.000000000 +0200 | 1 | --- src/widgets/qtoolbutton.orig2003-04-19 18:59:13.000000000 +0200 |
2 | +++ qtoolbutton.cpp2003-04-19 19:00:56.000000000 +0200 | 2 | +++ src/widgets/qtoolbutton.cpp2003-04-19 19:00:56.000000000 +0200 |
3 | @@ -230,7 +230,7 @@ | 3 | @@ -230,7 +230,7 @@ |
4 | else | 4 | else |
5 | QToolTip::add( this, textLabel ); | 5 | QToolTip::add( this, textLabel ); |
6 | } | 6 | } |
7 | -#endif | 7 | -#endif |
8 | +#endif | 8 | +#endif |
9 | } | 9 | } |
10 | 10 | ||
11 | 11 | ||
12 | @@ -324,12 +324,12 @@ | 12 | @@ -324,12 +324,12 @@ |
13 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Large, QIconSet::Normal); | 13 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Large, QIconSet::Normal); |
14 | w = pm.width(); | 14 | w = pm.width(); |
15 | h = pm.height(); | 15 | h = pm.height(); |
16 | -if ( w < 32 ) | 16 | -if ( w < 32 ) |
17 | - w = 32; | 17 | - w = 32; |
18 | -if ( h < 32 ) | 18 | -if ( h < 32 ) |
19 | - h = 32; | 19 | - h = 32; |
20 | +if ( w < 24 ) | 20 | +if ( w < 24 ) |
21 | + w = 24; | 21 | + w = 24; |
22 | +if ( h < 24 ) | 22 | +if ( h < 24 ) |
23 | + h = 24; | 23 | + h = 24; |
24 | } else { | 24 | } else { |
25 | -w = h = 16; | 25 | -w = h = 16; |
26 | +w = h = 14; | 26 | +w = h = 14; |
27 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal); | 27 | QPixmap pm = iconSet(TRUE).pixmap(QIconSet::Small, QIconSet::Normal); |
28 | w = pm.width(); | 28 | w = pm.width(); |
29 | h = pm.height(); | 29 | h = pm.height(); |