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

Method installWorld

launcher/minecraft/WorldList.cpp:339–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void WorldList::installWorld(QFileInfo filename)
340{
341 qDebug() << "installing: " << filename.absoluteFilePath();
342 World w(filename);
343 if(!w.isValid())
344 {
345 return;
346 }
347 w.install(m_dir.absolutePath());
348}
349
350bool WorldList::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column,
351 const QModelIndex &parent)

Callers 1

Calls 2

isValidMethod · 0.45
installMethod · 0.45

Tested by

no test coverage detected