Commit 44123b9b authored by woogerboy21's avatar woogerboy21
Browse files

Untabify

Yay!  Figured out how to do this in VS2015!
parent 506ad91b
...@@ -364,8 +364,8 @@ void RemoteClient::disconnectFromServer() ...@@ -364,8 +364,8 @@ void RemoteClient::disconnectFromServer()
QString RemoteClient::getSrvClientID(const QString _hostname) QString RemoteClient::getSrvClientID(const QString _hostname)
{ {
QString srvClientID = settingsCache->getClientID(); QString srvClientID = settingsCache->getClientID();
srvClientID += _hostname; srvClientID += _hostname;
QString uniqueServerClientID = QCryptographicHash::hash(srvClientID.toUtf8(), QCryptographicHash::Sha1).toHex().right(15); QString uniqueServerClientID = QCryptographicHash::hash(srvClientID.toUtf8(), QCryptographicHash::Sha1).toHex().right(15);
return uniqueServerClientID; return uniqueServerClientID;
} }
\ No newline at end of file
...@@ -51,7 +51,7 @@ private: ...@@ -51,7 +51,7 @@ private:
QTcpSocket *socket; QTcpSocket *socket;
QString lastHostname; QString lastHostname;
int lastPort; int lastPort;
QString getSrvClientID(const QString _hostname); QString getSrvClientID(const QString _hostname);
protected slots: protected slots:
void sendCommandContainer(const CommandContainer &cont); void sendCommandContainer(const CommandContainer &cont);
public: public:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment