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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
index f72540c..c579df8 100644
--- a/noncore/unsupported/oipkg/main.cpp
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -1,22 +1,23 @@
1 1
2#include "mainwindow.h" 2#include "mainwindow.h"
3 3
4#include <qpe/qpeapplication.h> 4#include <qpe/qpeapplication.h>
5#include <qstring.h> 5#include <qstring.h>
6//#include <qmessagebox.h> 6//#include <qmessagebox.h>
7int debugLevel; 7int debugLevel;
8 8
9int main( int argc, char ** argv ) 9int main( int argc, char ** argv )
10{ 10{
11 setpgid(0,0);
11 printf("This is oipkg\n"); 12 printf("This is oipkg\n");
12 printf("$Id$\n"); 13 printf("$Id$\n");
13 debugLevel = 2; 14 debugLevel = 2;
14 if (argc > 1) 15 if (argc > 1)
15 { 16 {
16 debugLevel = QString ( argv[1] ).toInt(); 17 debugLevel = QString ( argv[1] ).toInt();
17 qDebug("setting debug level to %i",debugLevel); 18 qDebug("setting debug level to %i",debugLevel);
18 } 19 }
19 QPEApplication a( argc, argv ); 20 QPEApplication a( argc, argv );
20 MainWindow mw; 21 MainWindow mw;
21// if (argc > 2) 22// if (argc > 2)
22 // QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!"); 23 // QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");