Less verbosity: commented lots of QDebugs

This commit is contained in:
Albert Vaca 2013-09-09 18:28:52 +02:00
parent 158e32adcf
commit 8e295ee364

View file

@ -90,7 +90,6 @@ QByteArray NetworkPackage::serialize() const
bool NetworkPackage::unserialize(const QByteArray& a, NetworkPackage* np) bool NetworkPackage::unserialize(const QByteArray& a, NetworkPackage* np)
{ {
//qDebug() << "Unserialize: " << a;
//Json -> QVariant //Json -> QVariant
QJson::Parser parser; QJson::Parser parser;
@ -104,10 +103,12 @@ bool NetworkPackage::unserialize(const QByteArray& a, NetworkPackage* np)
//QVariant -> Object //QVariant -> Object
QJson::QObjectHelper::qvariant2qobject(variant, np); QJson::QObjectHelper::qvariant2qobject(variant, np);
if (variant.contains("payloadTransferInfo")) {
if (!np->isEncrypted()) { if (!np->isEncrypted()) {
//qDebug() << "Unserializing payloadTransferInfo"; //qDebug() << "Serialized package:" << a;
} }
if (variant.contains("payloadTransferInfo")) {
//qDebug() << "Unserializing payloadTransferInfo";
np->mPayloadTransferInfo = variant["payloadTransferInfo"].toMap(); np->mPayloadTransferInfo = variant["payloadTransferInfo"].toMap();
} }