summaryrefslogtreecommitdiff
path: root/library
authormickeyl <mickeyl>2005-04-19 13:27:29 (UTC)
committer mickeyl <mickeyl>2005-04-19 13:27:29 (UTC)
commit6ec538f7e4a84e4f76addaf558c415b7dffc659b (patch) (side-by-side diff)
tree78690e386746d111033f22e997915ab537a5c350 /library
parent9b8dd642c4b135070911c78bb5d31a7add7162ee (diff)
downloadopie-6ec538f7e4a84e4f76addaf558c415b7dffc659b.zip
opie-6ec538f7e4a84e4f76addaf558c415b7dffc659b.tar.gz
opie-6ec538f7e4a84e4f76addaf558c415b7dffc659b.tar.bz2
fix windowing on c7x0 - patch from OE
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/widget_showing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/widget_showing.cpp b/library/widget_showing.cpp
index ee63759..e43a16a 100644
--- a/library/widget_showing.cpp
+++ b/library/widget_showing.cpp
@@ -43,25 +43,25 @@ void QPEApplication::showDialog( QDialog* d, bool nomax )
int QPEApplication::execDialog( QDialog* d, bool nomax )
{
showDialog( d, nomax );
return d->exec();
}
void QPEApplication::showWidget( QWidget* wg, bool nomax ) {
if ( wg->isVisible() ) {
wg->show();
return;
}
-#ifndef OPIE_NO_WINDOWED
+#ifdef OPIE_NO_WINDOWED
Q_UNUSED( nomax )
if ( TRUE ) {
#else
if ( !nomax
&& ( qApp->desktop()->width() <= 320 ) ){
#endif
wg->showMaximized();
} else {
#ifdef Q_WS_QWS
QSize desk = QSize( qApp->desktop()->width(), qApp->desktop()->height() );
#else
QSize desk = QSize( qt_maxWindowRect.width(), qt_maxWindowRect.height() );