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

Method selectedProfileName

src/settings.cpp:655–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655std::optional<QString> GameSettings::selectedProfileName() const
656{
657 if (auto v = getOptional<QByteArray>(m_Settings, "General", "selected_profile")) {
658 return QString::fromUtf8(*v);
659 }
660
661 return {};
662}
663
664void GameSettings::setSelectedProfileName(const QString& name)
665{

Callers 1

getProfileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected