From c02539a547846c096ed493f70fcb440dcaec3978 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 8 Nov 2011 00:34:34 +0200 Subject: FIX memory corruption. Fix logger printout --- client/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/Config.cpp') 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); -- cgit v1.2.3