summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
authortille <tille>2002-05-01 15:49:08 (UTC)
committer tille <tille>2002-05-01 15:49:08 (UTC)
commitda94bce203afca412336a7793ff8e58e18d59108 (patch) (unidiff)
tree0bc25fd1145459656d8cc7a4897bad51f123daf9 /noncore/unsupported/oipkg/main.cpp
parentfcc0cee7ae337e8179b8ba4d4b6c46b519129daa (diff)
downloadopie-da94bce203afca412336a7793ff8e58e18d59108.zip
opie-da94bce203afca412336a7793ff8e58e18d59108.tar.gz
opie-da94bce203afca412336a7793ff8e58e18d59108.tar.bz2
handles different versions of the same package
Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
index 4af59b0..5cef2dc 100644
--- a/noncore/unsupported/oipkg/main.cpp
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -1,19 +1,22 @@
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>
6int debugLevel; 7int debugLevel;
7 8
8int main( int argc, char ** argv ) 9int main( int argc, char ** argv )
9{ 10{
11
10 debugLevel = 2; 12 debugLevel = 2;
11 if (argc > 0) 13 if (argc > 0)
12 { 14 {
13 debugLevel = QString ( argv[1] ).toInt(); 15 debugLevel = QString ( argv[1] ).toInt();
14 } 16 }
15 QPEApplication a( argc, argv ); 17 QPEApplication a( argc, argv );
16 MainWindow mw; 18 MainWindow mw;
19 QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
17 a.showMainDocumentWidget( &mw ); 20 a.showMainDocumentWidget( &mw );
18 return a.exec(); 21 return a.exec();
19} 22}