summaryrefslogtreecommitdiff
path: root/library/qpeapplication.cpp
Side-by-side diff
Diffstat (limited to 'library/qpeapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index a97efc0..6f2e43b 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -434,10 +434,10 @@ static void setTreble( int t = 0, int percent = -1 )
}
}
-/*!
- \class QPEApplication qpeapplication.h
+/**
+ \class QPEApplication
\brief The QPEApplication class implements various system services
that are available to all Qtopia applications.
Simply by using QPEApplication instead of QApplication, a standard Qt
@@ -1570,8 +1570,9 @@ void QPEApplication::pidMessage( const QCString& msg, const QByteArray& data)
\sa showMainDocumentWidget()
*/
void QPEApplication::showMainWidget( QWidget* mw, bool nomaximize )
{
+ setMainWidget(mw);
d->show(mw, nomaximize );
}
/*!
@@ -1590,8 +1591,9 @@ void QPEApplication::showMainDocumentWidget( QWidget* mw, bool nomaximize )
if ( mw && argc() == 2 )
Global::setDocument( mw, QString::fromUtf8(argv()[1]) );
+ setMainWidget(mw);
d->show(mw, nomaximize );
}