- 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

@@ -38,9 +38,7 @@ class subDeleteThread : public QThread {
bool abort;
public:
subDeleteThread(QObject *parent, QString save_path, QStringList files_path) : QThread(parent), save_path(save_path), files_path(files_path){
abort = false;
}
subDeleteThread(QObject *parent, QString save_path, QStringList files_path) : QThread(parent), save_path(save_path), files_path(files_path), abort(false){}
~subDeleteThread(){
abort = true;
@@ -72,9 +70,7 @@ class deleteThread : public QThread {
QList<subDeleteThread*> subThreads;
public:
deleteThread(QObject* parent) : QThread(parent){
abort = false;
}
deleteThread(QObject* parent) : QThread(parent), abort(false){}
~deleteThread(){
mutex.lock();