1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(toxme): Add #include <ctime> to toxmedata

Fix #4730
This commit is contained in:
Diadlo 2017-10-13 17:10:09 +03:00
parent d3babb3fbe
commit 2f1bf10780
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -22,6 +22,8 @@
#include <QString> #include <QString>
#include <ctime>
QByteArray ToxmeData::parsePublicKey(const QString& text) const QByteArray ToxmeData::parsePublicKey(const QString& text) const
{ {
static const QByteArray pattern{"key\":\""}; static const QByteArray pattern{"key\":\""};