Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/main.cpp | 7 |
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 @@ -10,13 +10,14 @@ 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(); } |