- Code optimization using initialization lists

- Removed Traditional Chinese translation because we lost our translator and translation is outdated
This commit is contained in:
Christophe Dumez 2007-08-28 16:17:32 +00:00
parent c6b25e5f79
commit 6ecb45d661
19 changed files with 27 additions and 3385 deletions

View file

@ -45,9 +45,7 @@ class subDownloadThread : public QThread {
bool abort;
public:
subDownloadThread(QObject *parent, QString url) : QThread(parent), url(url){
abort = false;
}
subDownloadThread(QObject *parent, QString url) : QThread(parent), url(url), abort(false){}
~subDownloadThread(){
abort = true;
@ -146,9 +144,7 @@ class downloadThread : public QThread {
void downloadFailure(QString url, QString reason);
public:
downloadThread(QObject* parent) : QThread(parent){
abort = false;
}
downloadThread(QObject* parent) : QThread(parent), abort(false){}
~downloadThread(){
mutex.lock();