MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / profileInUseFilter

Function profileInUseFilter

launcher/ui/MainWindow.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131namespace {
132QString profileInUseFilter(const QString& profile, bool used)
133{
134 if (used) {
135 return QObject::tr("%1 (in use)").arg(profile);
136 } else {
137 return profile;
138 }
139}
140} // namespace
141
142MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow)

Callers 3

retranslateUiMethod · 0.85
defaultAccountChangedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected