summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 8e2f956..10cb2a2 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -2118,3 +2118,3 @@ void MainWindow::performQuickQuick()
setCaption( i18n("Sending request for remote file ...") );
- mTimerCommandSocket->start( 15000 );
+ mTimerCommandSocket->start( 10000 );
@@ -2129,2 +2129,3 @@ void MainWindow::deleteCommandSocket()
}
+ //KMessageBox::information( 0, i18n("MainWindow::deleteCommandSocket "));
qDebug("MainWindow::deletemCommandSocket() ");
@@ -2173,3 +2174,3 @@ void MainWindow::readFileFromSocket()
ti.start();
- while ( ti.elapsed () < 5000 && !mCommandSocket->canReadLine () ) {
+ while ( ti.elapsed () < 3000 && !mCommandSocket->canReadLine () ) {
qApp->processEvents();
@@ -2227,3 +2228,2 @@ void MainWindow::readFileFromSocket()
}
- setCaption( i18n("Sending back synced file...") );
QTextStream ts2( &file2 );
@@ -2234,2 +2234,3 @@ void MainWindow::readFileFromSocket()
if ( KOPrefs::instance()->mWriteBackFile ) {
+ setCaption( i18n("Sending back synced file...") );
os2 << "PUT " << mPassWordPiSync << "\r\n";;
@@ -2243,3 +2244,3 @@ void MainWindow::readFileFromSocket()
if ( mCommandSocketFinish->state() == QSocket::Idle )
- deleteCommandSocketFinish();
+ QTimer::singleShot( 10, this , SLOT ( deleteCommandSocketFinish()));
file.close();
@@ -2248,2 +2249,3 @@ void MainWindow::readFileFromSocket()
+ // KMessageBox::information( 0, i18n(" Pi-Sync succesful! "));