MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / profileInUseFilter

Function profileInUseFilter

launcher/ui/MainWindow.cpp:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137namespace {
138QString profileInUseFilter(const QString& profile, bool used)
139{
140 if (used) {
141 return QObject::tr("%1 (in use)").arg(profile);
142 } else {
143 return profile;
144 }
145}
146} // namespace
147
148MainWindow::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