mirror of
https://github.com/altlinux/admc.git
synced 2025-03-22 02:50:30 +03:00
Move SearchThread class members intialization from ctor body to init list
This commit is contained in:
parent
4ee95eca49
commit
ef70b3c3f5
@ -27,14 +27,9 @@
|
||||
|
||||
#include <QHash>
|
||||
|
||||
SearchThread::SearchThread(const QString base_arg, const SearchScope scope_arg, const QString &filter_arg, const QList<QString> attributes_arg) {
|
||||
stop_flag = false;
|
||||
base = base_arg;
|
||||
scope = scope_arg;
|
||||
filter = filter_arg;
|
||||
attributes = attributes_arg;
|
||||
m_failed_to_connect = false;
|
||||
m_hit_object_display_limit = false;
|
||||
SearchThread::SearchThread(const QString base_arg, const SearchScope scope_arg, const QString &filter_arg, const QList<QString> attributes_arg) :
|
||||
stop_flag(false), base(base_arg), scope(scope_arg), filter(filter_arg), attributes(attributes_arg), id(0), m_failed_to_connect(false),
|
||||
m_hit_object_display_limit(false) {
|
||||
|
||||
static int id_max = 0;
|
||||
id = id_max;
|
||||
|
Loading…
x
Reference in New Issue
Block a user