git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1173707 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 62f474f240
commit f1e9c60cad

@ -309,9 +309,9 @@ namespace BookshelfManager {
m_totalBytes = (totalBytes > 0) ? totalBytes : 1; //avoid division by zero
}
// FTPTransport *BTInstallMgr::createFTPTransport(const char *host, StatusReporter *statusReporter) {
// return new KIO_FTPTransport(host, statusReporter);
// }
FTPTransport *BTInstallMgr::createFTPTransport(const char *host, StatusReporter *statusReporter) {
return new KIO_FTPTransport(host, statusReporter);
}
}

@ -85,7 +85,7 @@ protected:
virtual void statusUpdate(double dltotal, double dlnow);
virtual void preStatus(long totalBytes, long completedBytes, const char *message);
// virtual FTPTransport *createFTPTransport(const char *host, StatusReporter *statusReporter);
virtual FTPTransport *createFTPTransport(const char *host, StatusReporter *statusReporter);
long m_totalBytes;
long m_completedBytes;

@ -502,7 +502,7 @@ the module remote installation feature!</b>")
if (BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is)) {
// int errorCode = 0;
if (!m_refreshedRemoteSources) {
if (!iMgr.refreshRemoteSource( &is ) ) { //make sure the sources were updates sucessfully
if (!iMgr.refreshRemoteSource( &is ) ) { //make sure the sources were updated sucessfully
m_refreshedRemoteSources = true;
success = true;
}
@ -513,6 +513,10 @@ the module remote installation feature!</b>")
}
}
}
else {
// Local source
success = true;
}
m_progressDialog->close();
delete m_progressDialog;

Loading…
Cancel
Save