summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/helpbrowser/main.cpp11
-rw-r--r--core/opie-login/main.cpp1
2 files changed, 2 insertions, 10 deletions
diff --git a/core/apps/helpbrowser/main.cpp b/core/apps/helpbrowser/main.cpp
index b1bea56..dc82e93 100644
--- a/core/apps/helpbrowser/main.cpp
+++ b/core/apps/helpbrowser/main.cpp
@@ -21,13 +21,6 @@
21#include "helpbrowser.h" 21#include "helpbrowser.h"
22 22
23#include <qtopia/qpeapplication.h> 23#include <qtopia/qpeapplication.h>
24#include <opie/oapplicationfactory.h>
24 25
25int main( int argc, char ** argv ) 26OPIE_EXPORT_APP( OApplicationFactory<HelpBrowser> )
26{
27 QPEApplication a( argc, argv );
28
29 HelpBrowser mw;
30 a.showMainWidget( &mw );
31
32 return a.exec();
33}
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp
index 2103216..5ecde1e 100644
--- a/core/opie-login/main.cpp
+++ b/core/opie-login/main.cpp
@@ -200,7 +200,6 @@ int main ( int argc, char **argv )
200 LoginApplication *app = new LoginApplication ( argc, argv, ppid ); 200 LoginApplication *app = new LoginApplication ( argc, argv, ppid );
201 LoginApplication::setLoginAs ( autolog ); 201 LoginApplication::setLoginAs ( autolog );
202 202
203
204 if ( LoginApplication::changeIdentity ( )) 203 if ( LoginApplication::changeIdentity ( ))
205 ::exit ( LoginApplication::login ( )); 204 ::exit ( LoginApplication::login ( ));
206 else 205 else