summaryrefslogtreecommitdiffabout
path: root/korganizer/main.cpp
Unidiff
Diffstat (limited to 'korganizer/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp
index ca53828..4194d12 100644
--- a/korganizer/main.cpp
+++ b/korganizer/main.cpp
@@ -10,25 +10,25 @@
10#include <qstring.h> 10#include <qstring.h>
11#include <qwindowsstyle.h> 11#include <qwindowsstyle.h>
12#include <qplatinumstyle.h> 12#include <qplatinumstyle.h>
13#include <qsgistyle.h> 13#include <qsgistyle.h>
14#endif 14#endif
15#include <qtextcodec.h> 15#include <qtextcodec.h>
16 16
17#include <qdir.h> 17#include <qdir.h>
18#include <kstandarddirs.h> 18#include <kstandarddirs.h>
19#include <kglobal.h> 19#include <kglobal.h>
20#include <stdio.h> 20#include <stdio.h>
21#include "mainwindow.h" 21#include "mainwindow.h"
22 22void dumpMissing();
23int main( int argc, char **argv ) 23int main( int argc, char **argv )
24{ 24{
25#ifndef DESKTOP_VERSION 25#ifndef DESKTOP_VERSION
26 QPEApplication a( argc, argv ); 26 QPEApplication a( argc, argv );
27 a.setKeepRunning (); 27 a.setKeepRunning ();
28#else 28#else
29 QApplication a( argc, argv ); 29 QApplication a( argc, argv );
30 QApplication::setStyle( new QPlatinumStyle ()); 30 QApplication::setStyle( new QPlatinumStyle ());
31 QString hdir = QDir::homeDirPath(); 31 QString hdir = QDir::homeDirPath();
32 // there is a bug when creating dirs for WIN 98 32 // there is a bug when creating dirs for WIN 98
33 // it is difficult to fix, because we have no WIN 98 runnung 33 // it is difficult to fix, because we have no WIN 98 runnung
34 // such that we try it to create the dirs at startup here 34 // such that we try it to create the dirs at startup here
@@ -91,16 +91,16 @@ int main( int argc, char **argv )
91 QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); 91 QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
92#endif 92#endif
93 if ( argc > 1 ) { 93 if ( argc > 1 ) {
94 QCString command = argv[1]; 94 QCString command = argv[1];
95 if ( argc > 2 ) 95 if ( argc > 2 )
96 command += argv[2]; 96 command += argv[2];
97 qApp->processEvents(); 97 qApp->processEvents();
98 m.recieve(command, QByteArray() ); 98 m.recieve(command, QByteArray() );
99 99
100 } 100 }
101 101
102 a.exec(); 102 a.exec();
103 103 dumpMissing();
104 } 104 }
105 qDebug("KO: Bye! "); 105 qDebug("KO: Bye! ");
106} 106}