mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
Remove extension from filename
This commit is contained in:
parent
d503c5293a
commit
9b174bfbf4
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue