summaryrefslogtreecommitdiff
path: root/noncore/unsupported
Unidiff
Diffstat (limited to 'noncore/unsupported') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
index bb3d1db..6d83c31 100644
--- a/noncore/unsupported/oipkg/main.cpp
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -1,23 +1,24 @@
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 11 printf("This is oipkg\n");
12 printf("$id$\n");
12 debugLevel = 2; 13 debugLevel = 2;
13 if (argc > 1) 14 if (argc > 1)
14 { 15 {
15 debugLevel = QString ( argv[1] ).toInt(); 16 debugLevel = QString ( argv[1] ).toInt();
16 qDebug("setting debug level to %i",debugLevel); 17 qDebug("setting debug level to %i",debugLevel);
17 } 18 }
18 QPEApplication a( argc, argv ); 19 QPEApplication a( argc, argv );
19 MainWindow mw; 20 MainWindow mw;
20// if (argc > 2) 21// if (argc > 2)
21 // QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!"); 22 // QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
22 a.showMainDocumentWidget( &mw ); 23 a.showMainDocumentWidget( &mw );
23 return a.exec(); 24 return a.exec();