3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- qt-2.3.10-snapshot-20050131/src/widgets/qcommonstyle.cpp~opie
7 +++ qt-2.3.10-snapshot-20050131/src/widgets/qcommonstyle.cpp
9 bool enabled, bool active )
12 -#ifndef QT_NO_STYLE_SGI
13 +#if 1 // #ifndef QT_NO_STYLE_SGI
14 if (draw_menu_bar_impl != 0) {
15 QDrawMenuBarItemImpl impl = draw_menu_bar_impl;
16 (this->*impl)(p, x, y, w, h, mi, g, enabled, active);
17 --- qt-2.3.10-snapshot-20050131/src/widgets/qlistview.cpp~opie
18 +++ qt-2.3.10-snapshot-20050131/src/widgets/qlistview.cpp
20 l = l->childItem ? l->childItem : l->siblingItem;
22 if ( l && l->height() )
23 - s.setHeight( s.height() + 10 * l->height() );
25 - s.setHeight( s.height() + 140 );
26 + s.setHeight( s.height() + 4 /*10*/ * l->height() );
27 + else // ^v much too big for handhelds
28 + s.setHeight( s.height() + 30 /*140*/ );
30 if ( s.width() > s.height() * 3 )
31 s.setHeight( s.width() / 3 );
32 --- qt-2.3.10-snapshot-20050131/src/kernel/qwindowsystem_qws.cpp~opie
33 +++ qt-2.3.10-snapshot-20050131/src/kernel/qwindowsystem_qws.cpp
38 +static void catchSegvSignal( int )
40 +#ifndef QT_NO_QWS_KEYBOARD
42 + qwsServer->closeKeyboard();
44 + QWSServer::closedown();
45 + fprintf(stderr, "Segmentation fault.\n");
51 \class QWSServer qwindowsystem_qws.h
52 \brief Server-specific functionality in Qt/Embedded
56 signal(SIGPIPE, ignoreSignal); //we get it when we read
57 + signal(SIGSEGV, catchSegvSignal); //recover the keyboard on crash