summaryrefslogtreecommitdiff
path: root/library/qpeapplication.cpp
authorzecke <zecke>2004-02-21 23:07:32 (UTC)
committer zecke <zecke>2004-02-21 23:07:32 (UTC)
commit57598b2a111ea924c5ad632cefb4ad7697c35759 (patch) (side-by-side diff)
tree4f52a1dfad6ca25b6b52317c79b72753c8fe2264 /library/qpeapplication.cpp
parent4cfad0d1331a5e3adc8bc2599783750875e6fd2b (diff)
downloadopie-57598b2a111ea924c5ad632cefb4ad7697c35759.zip
opie-57598b2a111ea924c5ad632cefb4ad7697c35759.tar.gz
opie-57598b2a111ea924c5ad632cefb4ad7697c35759.tar.bz2
Unbreak fastloading. So the API Documentation is a lie..
showMainWidget may not setMainWidget because this would break Fastloading..
Diffstat (limited to 'library/qpeapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 6f2e43b..c7ef2b7 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -438,3 +438,3 @@ static void setTreble( int t = 0, int percent = -1 )
/**
- \class QPEApplication
+ \class QPEApplication
\brief The QPEApplication class implements various system services
@@ -737,3 +737,2 @@ void QPEApplication::initApp( int argc, char **argv )
{
- bool initial = pidChannel; // was set to 0 in the initializer
delete pidChannel;
@@ -757,6 +756,6 @@ void QPEApplication::initApp( int argc, char **argv )
- if (!initial) {
- processQCopFile();
- d->keep_running = d->qcopq.isEmpty();
- }
+
+
+ processQCopFile();
+ d->keep_running = d->qcopq.isEmpty();
@@ -1573,3 +1572,3 @@ void QPEApplication::showMainWidget( QWidget* mw, bool nomaximize )
{
- setMainWidget(mw);
+// setMainWidget(mw); this breaks FastLoading because lastWindowClose() would quit
d->show(mw, nomaximize );
@@ -1594,3 +1593,3 @@ void QPEApplication::showMainDocumentWidget( QWidget* mw, bool nomaximize )
- setMainWidget(mw);
+// setMainWidget(mw); see above
d->show(mw, nomaximize );