summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
index 264fd55..4af59b0 100644
--- a/noncore/unsupported/oipkg/main.cpp
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -4,14 +4,14 @@
4#include <qpe/qpeapplication.h> 4#include <qpe/qpeapplication.h>
5#include <qstring.h> 5#include <qstring.h>
6int debugLevel; 6int debugLevel;
7 7
8int main( int argc, char ** argv ) 8int main( int argc, char ** argv )
9{ 9{
10 debugLevel = 1; 10 debugLevel = 2;
11 if (argc > 2) 11 if (argc > 0)
12 { 12 {
13 debugLevel = QString ( argv[1] ).toInt(); 13 debugLevel = QString ( argv[1] ).toInt();
14 } 14 }
15 QPEApplication a( argc, argv ); 15 QPEApplication a( argc, argv );
16 MainWindow mw; 16 MainWindow mw;
17 a.showMainDocumentWidget( &mw ); 17 a.showMainDocumentWidget( &mw );