Allocate internal structures before using them

ClientPrivate::parseCnnString() touches class parameters that are
allocated in the init() function.
This commit is contained in:
Adam Majer 2014-04-30 12:48:44 -05:00
parent 29fc73a5d2
commit 0bad40be56
1 changed files with 1 additions and 1 deletions

View File

@ -69,8 +69,8 @@ void ClientPrivate::init(QObject * parent)
void ClientPrivate::init(QObject * parent, const QUrl & con)
{
parseCnnString(con);
init(parent);
parseCnnString(con);
ClientPrivate::connect();
}