summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
authortille <tille>2002-05-02 19:11:55 (UTC)
committer tille <tille>2002-05-02 19:11:55 (UTC)
commitce6758eccada41f5c3fef13e6b4808c525213bee (patch) (side-by-side diff)
tree236d015e4c037254d7862620e41bd75ab701a696 /noncore/unsupported/oipkg/main.cpp
parentb4f04de71fea42fa32a048f42d27e4f5be6804f9 (diff)
downloadopie-ce6758eccada41f5c3fef13e6b4808c525213bee.zip
opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.gz
opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.bz2
added doclnk support
Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
index 5cef2dc..bacc973 100644
--- a/noncore/unsupported/oipkg/main.cpp
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -2,21 +2,22 @@
#include "mainwindow.h"
#include <qpe/qpeapplication.h>
#include <qstring.h>
#include <qmessagebox.h>
int debugLevel;
int main( int argc, char ** argv )
{
debugLevel = 2;
if (argc > 0)
- {
+ {
debugLevel = QString ( argv[1] ).toInt();
- }
+ }
QPEApplication a( argc, argv );
MainWindow mw;
- QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
+ if (debugLevel < 4)
+ QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
a.showMainDocumentWidget( &mw );
return a.exec();
}