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
@@ -102,5 +102,4 @@ int main( int argc, char **argv )
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
@@ -309,6 +309,6 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) :
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 ());
@@ -404,5 +404,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) :
setCaption(i18n("Loading calendar files ... please wait" ));
mSaveDelay = 0;
- QTimer::singleShot( 1, this, SLOT ( loadDataAfterStart() ));
+ QTimer::singleShot( 10, this, SLOT ( loadDataAfterStart() ));
}
MainWindow::~MainWindow()