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

Method installWorld

launcher/minecraft/WorldList.cpp:390–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void WorldList::installWorld(QFileInfo filename)
391{
392 qDebug() << "installing: " << filename.absoluteFilePath();
393 World w(filename);
394 if(!w.isValid())
395 {
396 return;
397 }
398 w.install(m_dir.absolutePath());
399}
400
401bool WorldList::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column,
402 const QModelIndex &parent)

Callers 1

Calls 2

isValidMethod · 0.45
installMethod · 0.45

Tested by

no test coverage detected