author | tille <tille> | 2002-06-19 23:21:58 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-19 23:21:58 (UTC) |
commit | 544123fd047153a93ba60730db1c8cd2df8dc0df (patch) (unidiff) | |
tree | a630e04f04f6b59912be044a6f948f4de76f8981 | |
parent | e29d044255fa5292c6e7ee754fa3956b5f989e18 (diff) | |
download | opie-544123fd047153a93ba60730db1c8cd2df8dc0df.zip opie-544123fd047153a93ba60730db1c8cd2df8dc0df.tar.gz opie-544123fd047153a93ba60730db1c8cd2df8dc0df.tar.bz2 |
.
-rw-r--r-- | noncore/unsupported/oipkg/main.cpp | 3 |
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,24 +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 | 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(); |
24 | } | 25 | } |