From 44123b9b0bd1fdc8e5f60d6e74ab9e1f0edf1eac Mon Sep 17 00:00:00 2001 From: woogerboy21 Date: Wed, 30 Mar 2016 15:30:58 -0400 Subject: [PATCH] Untabify Yay! Figured out how to do this in VS2015! --- cockatrice/src/remoteclient.cpp | 8 ++++---- cockatrice/src/remoteclient.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cockatrice/src/remoteclient.cpp b/cockatrice/src/remoteclient.cpp index e1bda71e..59b8e73b 100644 --- a/cockatrice/src/remoteclient.cpp +++ b/cockatrice/src/remoteclient.cpp @@ -364,8 +364,8 @@ void RemoteClient::disconnectFromServer() QString RemoteClient::getSrvClientID(const QString _hostname) { - QString srvClientID = settingsCache->getClientID(); - srvClientID += _hostname; - QString uniqueServerClientID = QCryptographicHash::hash(srvClientID.toUtf8(), QCryptographicHash::Sha1).toHex().right(15); - return uniqueServerClientID; + QString srvClientID = settingsCache->getClientID(); + srvClientID += _hostname; + QString uniqueServerClientID = QCryptographicHash::hash(srvClientID.toUtf8(), QCryptographicHash::Sha1).toHex().right(15); + return uniqueServerClientID; } \ No newline at end of file diff --git a/cockatrice/src/remoteclient.h b/cockatrice/src/remoteclient.h index 3b54cfda..ed0b66db 100644 --- a/cockatrice/src/remoteclient.h +++ b/cockatrice/src/remoteclient.h @@ -51,7 +51,7 @@ private: QTcpSocket *socket; QString lastHostname; int lastPort; - QString getSrvClientID(const QString _hostname); + QString getSrvClientID(const QString _hostname); protected slots: void sendCommandContainer(const CommandContainer &cont); public: