summaryrefslogtreecommitdiff
path: root/core/launcher/main.cpp
Unidiff
Diffstat (limited to 'core/launcher/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/main.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index b3c331b..a19da14 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -42,16 +42,12 @@
42#include <unistd.h> 42#include <unistd.h>
43 43
44#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX) 44#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX)
45#include "../calibrate/calibrate.h" 45#include "../calibrate/calibrate.h"
46#endif 46#endif
47 47
48#ifdef QT_QWS_LOGIN
49#include "../login/qdmdialogimpl.h"
50#endif
51
52#ifdef QT_QWS_CASSIOPEIA 48#ifdef QT_QWS_CASSIOPEIA
53static void ignoreMessage( QtMsgType, const char * ) 49static void ignoreMessage( QtMsgType, const char * )
54{ 50{
55} 51}
56#include <sys/mount.h> 52#include <sys/mount.h>
57#include <sys/types.h> 53#include <sys/types.h>
@@ -300,20 +296,12 @@ int initApplication( int argc, char ** argv )
300 (void) new ModelKeyFilter ( ); 296 (void) new ModelKeyFilter ( );
301 297
302 initBacklight(); 298 initBacklight();
303 299
304 AlarmServer::initialize(); 300 AlarmServer::initialize();
305 301
306#if defined(QT_QWS_LOGIN)
307 for( int i=0; i<a.argc(); i++ )
308 if( strcmp( a.argv()[i], "-login" ) == 0 ) {
309 QDMDialogImpl::login( );
310 return 0;
311 }
312#endif
313
314 Desktop *d = new Desktop(); 302 Desktop *d = new Desktop();
315 303
316 QObject::connect( &a, SIGNAL(datebook()), d, SLOT(raiseDatebook()) ); 304 QObject::connect( &a, SIGNAL(datebook()), d, SLOT(raiseDatebook()) );
317 QObject::connect( &a, SIGNAL(contacts()), d, SLOT(raiseContacts()) ); 305 QObject::connect( &a, SIGNAL(contacts()), d, SLOT(raiseContacts()) );
318 QObject::connect( &a, SIGNAL(launch()), d, SLOT(raiseLauncher()) ); 306 QObject::connect( &a, SIGNAL(launch()), d, SLOT(raiseLauncher()) );
319 QObject::connect( &a, SIGNAL(email()), d, SLOT(raiseEmail()) ); 307 QObject::connect( &a, SIGNAL(email()), d, SLOT(raiseEmail()) );