summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
Unidiff
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
@@ -11,12 +11,13 @@ int main( int argc, char ** argv )
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}