[bt-devel] Bugfix in BT 1.6.4 for KDE3
Martin Gruner
mg.pub at gmx.net
Fri Aug 24 11:55:52 MST 2007
Hi there,
I just fixed a very nasty bug. It caused BT to eat up all system resources
during file download. FYI:
- while (!finishedDownload) {
- KApplication::kApplication()->processEvents(1);
- // qWarning("FTP: Copy not yet finished");
- if (term) {
- if (job) {
- job->kill(false);
- }
- }
The problematic part is the processEvents(1), which will only interrupt the
loop for 1 millisecond. But the loop is just there for active waiting. I set
that value to 200ms and voilá, downloads are much faster and save system
resources.
@Joachim: could you please prepare a 1.6.4a with this change? I believe we
also had some translation updates.
mg
More information about the bt-devel
mailing list