MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / resetIcon

Method resetIcon

launcher/minecraft/World.cpp:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239bool World::resetIcon()
240{
241 if (m_iconFile.isNull()) {
242 return false;
243 }
244 if (QFile(m_iconFile).remove()) {
245 m_iconFile = QString();
246 return true;
247 }
248 return false;
249}
250
251void World::readFromFS(const QFileInfo& file)
252{

Callers

nothing calls this directly

Calls 3

QFileClass · 0.85
QStringClass · 0.85
removeMethod · 0.45

Tested by

no test coverage detected