MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / allowedToChangeInstance

Method allowedToChangeInstance

src/instancemanager.cpp:602–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602bool InstanceManager::allowedToChangeInstance() const
603{
604 const auto lockFile = qApp->applicationDirPath() + "/" +
605 QString::fromStdWString(AppConfig::portableLockFileName());
606
607 return !QFile::exists(lockFile);
608}
609
610MOBase::IPluginGame*
611InstanceManager::gamePluginForDirectory(const QString& instanceDir,

Callers 1

setupToolbarMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected