-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 4722d70..e2a6cad 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp @@ -330,13 +330,13 @@ void OpieFtp::connectorBtnToggled(bool On) } void OpieFtp::connector() { QCopEnvelope ( "QPE/System", "busy()" ); - qApp->processEvents(); +// qApp->processEvents(); currentRemoteDir=remotePath->text(); if(ServerComboBox->currentText().isEmpty()) { QMessageBox::warning(this,tr("Ftp"),tr("Please set the server info"),tr("Ok"),0,0); TabWidget->setCurrentPage(2); ServerComboBox->setFocus(); connectServerBtn->setOn(FALSE); @@ -391,13 +391,13 @@ void OpieFtp::disConnector() } void OpieFtp::localUpload() { int fsz; QCopEnvelope ( "QPE/System", "busy()" ); - qApp->processEvents(); +// qApp->processEvents(); QString strItem = Local_View->currentItem()->text(0); QString localFile = currentDir.canonicalPath()+"/"+strItem; QString remoteFile= currentRemoteDir+strItem; QFileInfo fi(localFile); if( !fi.isDir()) { fsz=fi.size(); @@ -433,15 +433,15 @@ void OpieFtp::nullifyCallBack() FtpOptions(FTPLIB_CALLBACKBYTES, NULL, conn); } void OpieFtp::remoteDownload() { +// qApp->processEvents(); int fsz; QCopEnvelope ( "QPE/System", "busy()" ); - qApp->processEvents(); QString strItem = Remote_View->currentItem()->text(0); // strItem=strItem.right(strItem.length()-1); QString localFile = currentDir.canonicalPath(); if(localFile.right(1).find("/",0,TRUE) == -1) localFile += "/"; |