MCPcopy Create free account
hub / github.com/cpeditor/cpeditor / defaultPathForAction

Method defaultPathForAction

src/Settings/DefaultPathManager.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25QMap<QString, QString> DefaultPathManager::defaultPath;
26
27QString DefaultPathManager::defaultPathForAction(const QString &action)
28{
29 const auto result =
30 convertPath(SettingsManager::get(QString("Default Path/Action/%1/Uses").arg(action)).toString());
31 LOG_INFO(INFO_OF(action) << INFO_OF(result));
32 return result;
33}
34
35void DefaultPathManager::setDefaultPathForAction(const QString &action, const QString &path)
36{

Callers

nothing calls this directly

Calls 1

QStringClass · 0.85

Tested by

no test coverage detected