added code to handle a single connection

This commit is contained in:
fourtf
2018-07-16 17:23:41 +02:00
parent e51c5c692a
commit 3b3c5d8d75
18 changed files with 114 additions and 84 deletions
+11
View File
@@ -2,12 +2,23 @@
#include "Application.hpp"
#include "singletons/Paths.hpp"
#include "util/DebugCount.hpp"
#include <QCryptographicHash>
#include <QFile>
namespace chatterino {
NetworkData::NetworkData()
{
DebugCount::increase("NetworkData");
}
NetworkData::~NetworkData()
{
DebugCount::decrease("NetworkData");
}
QString NetworkData::getHash()
{
if (this->hash_.isEmpty()) {