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 | |||
@@ -8,15 +8,16 @@ int debugLevel; | |||
8 | 8 | ||
9 | int main( int argc, char ** argv ) | 9 | int main( int argc, char ** argv ) |
10 | { | 10 | { |
11 | 11 | ||
12 | debugLevel = 2; | 12 | debugLevel = 2; |
13 | if (argc > 0) | 13 | if (argc > 0) |
14 | { | 14 | { |
15 | debugLevel = QString ( argv[1] ).toInt(); | 15 | debugLevel = QString ( argv[1] ).toInt(); |
16 | } | 16 | } |
17 | QPEApplication a( argc, argv ); | 17 | QPEApplication a( argc, argv ); |
18 | MainWindow mw; | 18 | MainWindow mw; |
19 | QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!"); | 19 | if (debugLevel < 4) |
20 | QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!"); | ||
20 | a.showMainDocumentWidget( &mw ); | 21 | a.showMainDocumentWidget( &mw ); |
21 | return a.exec(); | 22 | return a.exec(); |
22 | } | 23 | } |