MCPcopy Create free account
hub / github.com/Kitware/CMake / loadBuildPaths

Method loadBuildPaths

Source/QtDialog/CMakeSetupDialog.cxx:1132–1145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130}
1131
1132QStringList CMakeSetupDialog::loadBuildPaths()
1133{
1134 QSettings settings;
1135 settings.beginGroup("Settings/StartPath");
1136
1137 QStringList buildPaths;
1138 for (int i = 0; i < 10; i++) {
1139 QString p = settings.value(QString("WhereBuild%1").arg(i)).toString();
1140 if (!p.isEmpty()) {
1141 buildPaths.append(p);
1142 }
1143 }
1144 return buildPaths;
1145}
1146
1147void CMakeSetupDialog::saveBuildPaths(QStringList const& paths)
1148{

Callers 2

CMakeSetupDialogMethod · 0.95
addBinaryPathMethod · 0.95

Calls 3

QStringClass · 0.85
valueMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected