-rw-r--r-- | noncore/unsupported/oipkg/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp index 6d83c31..de25e27 100644 --- a/noncore/unsupported/oipkg/main.cpp +++ b/noncore/unsupported/oipkg/main.cpp | |||
@@ -1,25 +1,25 @@ | |||
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> |
7 | int debugLevel; | 7 | int debugLevel; |
8 | 8 | ||
9 | int main( int argc, char ** argv ) | 9 | int main( int argc, char ** argv ) |
10 | { | 10 | { |
11 | printf("This is oipkg\n"); | 11 | printf("This is oipkg\n"); |
12 | printf("$id$\n"); | 12 | printf("$ID$\n"); |
13 | debugLevel = 2; | 13 | debugLevel = 2; |
14 | if (argc > 1) | 14 | if (argc > 1) |
15 | { | 15 | { |
16 | debugLevel = QString ( argv[1] ).toInt(); | 16 | debugLevel = QString ( argv[1] ).toInt(); |
17 | qDebug("setting debug level to %i",debugLevel); | 17 | qDebug("setting debug level to %i",debugLevel); |
18 | } | 18 | } |
19 | QPEApplication a( argc, argv ); | 19 | QPEApplication a( argc, argv ); |
20 | MainWindow mw; | 20 | MainWindow mw; |
21 | // if (argc > 2) | 21 | // if (argc > 2) |
22 | // 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!"); |
23 | a.showMainDocumentWidget( &mw ); | 23 | a.showMainDocumentWidget( &mw ); |
24 | return a.exec(); | 24 | return a.exec(); |
25 | } | 25 | } |