Untabify
Yay! Figured out how to do this in VS2015!
This commit is contained in:
parent
506ad91b03
commit
44123b9b0b
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue