diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
commit | 2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch) | |
tree | bf879bea7ef8517ba8c3d1286ef300401d3d484c /libqpe/libqpe-opie | |
parent | 101e2f1623def0a355d20aacb8bd93810703e834 (diff) |
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded
2004/12/09 03:39:39-06:00 kergoth.com!kergoth
Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit.
BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'libqpe/libqpe-opie')
-rw-r--r-- | libqpe/libqpe-opie/nomax.patch | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/libqpe/libqpe-opie/nomax.patch b/libqpe/libqpe-opie/nomax.patch deleted file mode 100644 index 81c2310c80..0000000000 --- a/libqpe/libqpe-opie/nomax.patch +++ /dev/null @@ -1,79 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- opie-x86/library/qpeapplication.cpp~nomax -+++ opie-x86/library/qpeapplication.cpp -@@ -251,6 +251,8 @@ - - static bool read_widget_rect(const QString &app, bool &maximized, QPoint &p, QSize &s) - { -+#ifndef OPIE_NO_WINDOWED -+ - maximized = TRUE; - // 350 is the trigger in qwsdefaultdecoration for providing a resize button - if ( qApp->desktop()->width() <= 350 ) -@@ -272,11 +274,10 @@ - - return TRUE; - } -- -+#endif - return FALSE; - } - -- - static bool validate_widget_size(const QWidget *w, QPoint &p, QSize &s) - { - #ifndef Q_WS_QWS -@@ -320,6 +321,8 @@ - - static void store_widget_rect(QWidget *w, QString &app) - { -+#ifndef OPIE_NO_WINDOWED -+ - // 350 is the trigger in qwsdefaultdecoration for providing a resize button - if ( qApp->desktop()->width() <= 350 ) - return; -@@ -340,6 +343,8 @@ - QString s; - s.sprintf("%d,%d,%d,%d,%d", r.left() + offsetX, r.top() + offsetY, r.width(), r.height(), w->isMaximized() ); - cfg.writeEntry( app, s ); -+#endif -+ - } - - static bool setWidgetCaptionFromAppName( QWidget* /*mw*/, const QString& /*appName*/, const QString& /*appsPath*/ ) ---- opie-x86/library/qpeapplication.h~nomax -+++ opie-x86/library/qpeapplication.h -@@ -205,7 +205,10 @@ - else - { - if ( !nomax -- && ( qApp->desktop()->width() <= 320 ) ) -+#ifndef OPIE_NO_WINDOWED -+ && ( qApp->desktop()->width() <= 320 ) -+#endif -+ ) - { - wg->showMaximized(); - } else { ---- opie-x86/library/qpedecoration_qws.cpp~nomax -+++ opie-x86/library/qpedecoration_qws.cpp -@@ -628,6 +628,7 @@ - case Menu: - break; - case Maximize: -+#ifndef OPIE_NO_WINDOWED - if ( !widget->inherits( "QDialog" ) && qApp->desktop()->width() > 350 ) { - int maximizeWidth = wdiface->metric(WindowDecorationInterface::MaximizeWidth,&wd); - int left = rect.right() - maximizeWidth - closeWidth; -@@ -636,6 +637,7 @@ - QRect r(left, rect.top() - titleHeight, closeWidth, titleHeight); - region = r; - } -+#endif - break; - case Minimize: - if ( ((DecorHackWidget *)widget)->needsOk() ) { |