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

Method uid

launcher/ui/dialogs/NewComponentDialog.cpp:107–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107QString NewComponentDialog::uid() const
108{
109 auto result = ui->uidTextBox->text();
110 if (result.size()) {
111 return result.trimmed();
112 }
113 result = ui->uidTextBox->placeholderText();
114 if (result.size() && result != originalPlaceholderText) {
115 return result.trimmed();
116 }
117 return QString();
118}
119
120void NewComponentDialog::setBlacklist(QStringList badUids)
121{

Calls 3

QStringClass · 0.50
textMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected