-rw-r--r-- | korganizer/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp index 6339370..a96f7c2 100644 --- a/korganizer/main.cpp +++ b/korganizer/main.cpp | |||
@@ -92,24 +92,23 @@ int main( int argc, char **argv ) | |||
92 | QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(receiveStart( const QCString&, const QByteArray& ))); | 92 | QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(receiveStart( const QCString&, const QByteArray& ))); |
93 | a.showMainWidget(&m ); | 93 | a.showMainWidget(&m ); |
94 | #else | 94 | #else |
95 | a.setMainWidget(&m ); | 95 | a.setMainWidget(&m ); |
96 | m.show(); | 96 | m.show(); |
97 | //m.resize( 800, 600 ); | 97 | //m.resize( 800, 600 ); |
98 | //QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); | 98 | //QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); |
99 | #endif | 99 | #endif |
100 | if ( argc > 1 ) { | 100 | if ( argc > 1 ) { |
101 | QCString command = argv[1]; | 101 | QCString command = argv[1]; |
102 | if ( argc > 2 ) | 102 | if ( argc > 2 ) |
103 | command += argv[2]; | 103 | command += argv[2]; |
104 | qApp->processEvents(); | ||
105 | m.recieve(command, QByteArray() ); | 104 | m.recieve(command, QByteArray() ); |
106 | 105 | ||
107 | } | 106 | } |
108 | 107 | ||
109 | a.exec(); | 108 | a.exec(); |
110 | dumpMissing(); | 109 | dumpMissing(); |
111 | 110 | ||
112 | KPimGlobalPrefs::instance()->writeConfig(); | 111 | KPimGlobalPrefs::instance()->writeConfig(); |
113 | } | 112 | } |
114 | qDebug("KO: Bye! "); | 113 | qDebug("KO: Bye! "); |
115 | } | 114 | } |