author | zautrix <zautrix> | 2005-09-19 02:49:09 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-09-19 02:49:09 (UTC) |
commit | 396aeedb3351ecf9024a3975a5bce9166f0d8aef (patch) (side-by-side diff) | |
tree | 098f2e2c14939aeeb7e84ab5ff9959c51547fbbc | |
parent | f4b88b634935aac5a1212e86d8eb5d90c1eff301 (diff) | |
download | kdepimpi-396aeedb3351ecf9024a3975a5bce9166f0d8aef.zip kdepimpi-396aeedb3351ecf9024a3975a5bce9166f0d8aef.tar.gz kdepimpi-396aeedb3351ecf9024a3975a5bce9166f0d8aef.tar.bz2 |
wn
-rw-r--r-- | korganizer/main.cpp | 1 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 6 |
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 @@ -96,17 +96,16 @@ int main( int argc, char **argv ) m.show(); //m.resize( 800, 600 ); //QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); #endif if ( argc > 1 ) { QCString command = argv[1]; if ( argc > 2 ) command += argv[2]; - qApp->processEvents(); m.recieve(command, QByteArray() ); } a.exec(); dumpMissing(); KPimGlobalPrefs::instance()->writeConfig(); diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 883a9d1..d1e369c 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -303,18 +303,18 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : setCentralWidget( mView ); //mView->hide(); //mView->resize(splash->size() ); initActions(); 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(); //qDebug("Toolbar hei %d ",iconToolBar->height() ); if ( iconToolBar->orientation () == Qt:: Horizontal ) { vh -= iconToolBar->height(); } else { @@ -398,17 +398,17 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : updateWeek( mView->startDate() ); connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ), SLOT( updateWeekNum( const KCal::DateList & ) ) ); mBRdisabled = false; //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() "); //save toolbar location delete mCalendar; delete mSyncManager; #ifndef DESKTOP_VERSION |