From 9b174bfbf443936177a29eeadbca5e130121da07 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 26 Aug 2015 09:28:19 -0700 Subject: [PATCH] Remove extension from filename --- assignment-client/src/assets/AssetServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assignment-client/src/assets/AssetServer.cpp b/assignment-client/src/assets/AssetServer.cpp index 0ed5b12b61..ad5d2a1d63 100644 --- a/assignment-client/src/assets/AssetServer.cpp +++ b/assignment-client/src/assets/AssetServer.cpp @@ -251,7 +251,7 @@ void AssetServer::handleAssetUpload(QSharedPointer packetList, Sha qDebug() << "Got data: (" << hash << ") "; - QFile file { _resourcesDirectory.filePath(QString(hash)) }; //+ "." + QString(extension) }; + QFile file { _resourcesDirectory.filePath(QString(hash)) }; if (file.exists()) { qDebug() << "[WARNING] This file already exists";