Remove extension from filename

This commit is contained in:
Ryan Huffman 2015-08-26 09:28:19 -07:00
parent d503c5293a
commit 9b174bfbf4

View file

@ -251,7 +251,7 @@ void AssetServer::handleAssetUpload(QSharedPointer<NLPacketList> 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";