MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / resetIcon

Method resetIcon

launcher/minecraft/World.cpp:256–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256bool World::resetIcon()
257{
258 if(m_iconFile.isNull()) {
259 return false;
260 }
261 if(QFile(m_iconFile).remove()) {
262 m_iconFile = QString();
263 return true;
264 }
265 return false;
266}
267
268void World::readFromFS(const QFileInfo &file)
269{

Callers

nothing calls this directly

Calls 3

QFileClass · 0.85
QStringClass · 0.85
removeMethod · 0.45

Tested by

no test coverage detected