author | sandman <sandman> | 2002-06-20 18:06:33 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-20 18:06:33 (UTC) |
commit | d802ef137dafdac52692a52900c708c885bb8a91 (patch) (unidiff) | |
tree | 872025363abdeacf165224acfd0464d9919fa21f /qt/qte232-for-qpe150-style.patch | |
parent | dd7e8bb91dc00d8830308a89f118443ab61e85d9 (diff) | |
download | opie-d802ef137dafdac52692a52900c708c885bb8a91.zip opie-d802ef137dafdac52692a52900c708c885bb8a91.tar.gz opie-d802ef137dafdac52692a52900c708c885bb8a91.tar.bz2 |
Fix a wrong assumption:
TT tought only SGI style needs the drawMenuBar hack -- MotifPlus and Liquid
need this hack too
Diffstat (limited to 'qt/qte232-for-qpe150-style.patch') (more/less context) (ignore whitespace changes)
-rw-r--r-- | qt/qte232-for-qpe150-style.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qt/qte232-for-qpe150-style.patch b/qt/qte232-for-qpe150-style.patch new file mode 100644 index 0000000..8069ff4 --- a/dev/null +++ b/qt/qte232-for-qpe150-style.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- src/widgets/qcommonstyle.cpp.origThu Jun 20 02:41:34 2002 | ||
2 | +++ src/widgets/qcommonstyle.cppThu Jun 20 02:42:17 2002 | ||
3 | @@ -562,7 +562,7 @@ | ||
4 | bool enabled, bool active ) | ||
5 | { | ||
6 | #ifndef QT_NO_MENUBAR | ||
7 | -#ifndef QT_NO_STYLE_SGI | ||
8 | +#if 1 // #ifndef QT_NO_STYLE_SGI | ||
9 | if (draw_menu_bar_impl != 0) { | ||
10 | QDrawMenuBarItemImpl impl = draw_menu_bar_impl; | ||
11 | (this->*impl)(p, x, y, w, h, mi, g, enabled, active); | ||