summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/main.cpp1
-rw-r--r--korganizer/mainwindow.cpp6
2 files changed, 3 insertions, 4 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp
index 6339370..a96f7c2 100644
--- a/korganizer/main.cpp
+++ b/korganizer/main.cpp
@@ -100,9 +100,8 @@ int main( int argc, char **argv )
if ( argc > 1 ) {
QCString command = argv[1];
if ( argc > 2 )
command += argv[2];
- qApp->processEvents();
m.recieve(command, QByteArray() );
}
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 883a9d1..d1e369c 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -307,10 +307,10 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) :
mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu);
mSyncManager->setBlockSave(false);
mView->setSyncManager(mSyncManager);
#ifndef DESKTOP_VERSION
- //iconToolBar->show();
- //qApp->processEvents();
+ iconToolBar->show();
+ qApp->processEvents();
#endif
//qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ());
int vh = height() ;
int vw = width();
@@ -402,9 +402,9 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) :
//toggleBeamReceive();
setCaption(i18n("Loading calendar files ... please wait" ));
mSaveDelay = 0;
- QTimer::singleShot( 1, this, SLOT ( loadDataAfterStart() ));
+ QTimer::singleShot( 10, this, SLOT ( loadDataAfterStart() ));
}
MainWindow::~MainWindow()
{
//qDebug("MainWindow::~MainWindow() ");