diff options
author | Alex <b0ris@b0ris-satellite.localdomain> | 2011-11-08 00:34:34 +0200 |
---|---|---|
committer | Alex <b0ris@b0ris-satellite.localdomain> | 2011-11-08 00:34:34 +0200 |
commit | c02539a547846c096ed493f70fcb440dcaec3978 (patch) | |
tree | 224a8a5a2787444cced0ff862b8b441cb090fcc2 /client/Config.cpp | |
parent | 9622fffd0ac62ab03b2d37e51ef2bdddf8a378c2 (diff) |
FIX memory corruption. Fix logger printout
Diffstat (limited to 'client/Config.cpp')
-rwxr-xr-x | client/Config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/Config.cpp b/client/Config.cpp index 31e5189..acb3684 100755 --- a/client/Config.cpp +++ b/client/Config.cpp @@ -96,7 +96,7 @@ Config::Config(): QObject(), StaticProxySpeedLow(50) connect(configUpdateTimer, SIGNAL(timeout()), this, SLOT(updateConfig())); - client = new SslClient(servers[0].host); + client = new SslClient(QString::fromStdString(servers[0].host)); connect(client, SIGNAL(ReplyRecieved(SslClient::RequestType&, QByteArray&)), this, SLOT(gotServerReply(SslClient::RequestType&, QByteArray&))); client->SendRequest(SslClient::Config); |