Diffstat (limited to 'noncore/comm/keypebble/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/noncore/comm/keypebble/main.cpp b/noncore/comm/keypebble/main.cpp index ee3cd79..bc7782c 100644 --- a/noncore/comm/keypebble/main.cpp +++ b/noncore/comm/keypebble/main.cpp | |||
@@ -1,17 +1,15 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | #include <qurl.h> | 3 | #include <qurl.h> |
4 | #include <qpe/qpeapplication.h> | 4 | #include <qpe/qpeapplication.h> |
5 | #include "kvnc.h" | 5 | #include "kvnc.h" |
6 | 6 | ||
7 | int main( int argc, char **argv ) | 7 | int main( int argc, char **argv ) |
8 | { | 8 | { |
9 | QPEApplication app( argc, argv ); | 9 | QPEApplication app( argc, argv ); |
10 | KVNC *view = new KVNC( "Keypebble" ); | 10 | KVNC *view = new KVNC( "Keypebble" ); |
11 | app.showMainWidget( view ); | 11 | app.showMainWidget( view ); |
12 | 12 | ||
13 | if ( argc > 1 ) | ||
14 | view->openURL( QUrl(argv[1]) ); | ||
15 | |||
16 | return app.exec(); | 13 | return app.exec(); |
17 | } | 14 | } |
15 | |||