MCPcopy Create free account
hub / github.com/MultiMC/Launcher / resetIcon

Method resetIcon

launcher/minecraft/World.cpp:214–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214bool World::resetIcon()
215{
216 if(m_iconFile.isNull()) {
217 return false;
218 }
219 if(QFile(m_iconFile).remove()) {
220 m_iconFile = QString();
221 return true;
222 }
223 return false;
224}
225
226void World::readFromFS(const QFileInfo &file)
227{

Callers

nothing calls this directly

Calls 3

QFileClass · 0.85
QStringClass · 0.85
removeMethod · 0.45

Tested by

no test coverage detected