author | llornkcor <llornkcor> | 2002-03-24 15:44:15 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-24 15:44:15 (UTC) |
commit | 368d5032f4ff4566dea1e99aa2bb782300e0bfd5 (patch) (side-by-side diff) | |
tree | 9d4f453e27e66d4c7b55ebbca84d410ea3ec0204 | |
parent | 0003cbb436fc3d254e2c45aa1d65aee439d322f6 (diff) | |
download | opie-368d5032f4ff4566dea1e99aa2bb782300e0bfd5.zip opie-368d5032f4ff4566dea1e99aa2bb782300e0bfd5.tar.gz opie-368d5032f4ff4566dea1e99aa2bb782300e0bfd5.tar.bz2 |
took out processEvents causing slowup
-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 += "/"; |