Sfoglia il codice sorgente

Change resourceID with ResourcePath

nordsoft 2 anni fa
parent
commit
bb4905af48
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      launcher/modManager/cmodmanager.cpp

+ 1 - 1
launcher/modManager/cmodmanager.cpp

@@ -89,7 +89,7 @@ void CModManager::loadMods()
 		{
 			//calculate mod size
 			qint64 total = 0;
-			ResourceID resDir(CModInfo::getModDir(modname), EResType::DIRECTORY);
+			ResourcePath resDir(CModInfo::getModDir(modname), EResType::DIRECTORY);
 			if(CResourceHandler::get()->existsResource(resDir))
 			{
 				for(QDirIterator iter(QString::fromStdString(CResourceHandler::get()->getResourceName(resDir)->string()), QDirIterator::Subdirectories); iter.hasNext(); iter.next())