This commit is contained in:
Atlante45 2015-08-28 16:31:02 +02:00
parent ea05fcea0c
commit 12fdec232b
3 changed files with 1 additions and 3 deletions

View file

@ -114,7 +114,7 @@ void AssetServer::handleAssetGetInfo(QSharedPointer<NLPacket> packet, SharedNode
replyPacket->writePrimitive(AssetServerError::NO_ERROR);
replyPacket->writePrimitive(fileInfo.size());
} else {
qDebug() << "Asset not found: " << assetHash.toHex();
qDebug() << "Asset not found: " << QString(hexHash);
replyPacket->writePrimitive(AssetServerError::ASSET_NOT_FOUND);
}

View file

@ -57,7 +57,6 @@ void AssetRequest::start() {
qCDebug(networking) << "Got size of " << _hash << " : " << info.size << " bytes";
// Round up
int start = 0, end = _info.size;
auto assetClient = DependencyManager::get<AssetClient>();

View file

@ -29,7 +29,6 @@ void AssetResourceRequest::doSend() {
connect(request, &AssetRequest::progress, this, &AssetResourceRequest::progress);
QObject::connect(request, &AssetRequest::finished, [this](AssetRequest* req) mutable {
Q_ASSERT(_state == InProgress);
Q_ASSERT(req->getState() == AssetRequest::FINISHED);