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

Method uid

launcher/ui/dialogs/NewComponentDialog.cpp:88–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88QString NewComponentDialog::uid() const
89{
90 auto result = ui->uidTextBox->text();
91 if(result.size())
92 {
93 return result.trimmed();
94 }
95 result = ui->uidTextBox->placeholderText();
96 if(result.size() && result != originalPlaceholderText)
97 {
98 return result.trimmed();
99 }
100 return QString();
101}
102
103void NewComponentDialog::setBlacklist(QStringList badUids)
104{

Calls 3

QStringClass · 0.85
textMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected