MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / setTitle

Method setTitle

launcher/ui/widgets/ErrorFrame.cpp:57–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ErrorFrame::setTitle(QString text)
58{
59 if(text.isEmpty())
60 {
61 ui->label_Title->setHidden(true);
62 }
63 else
64 {
65 ui->label_Title->setText(text);
66 ui->label_Title->setHidden(false);
67 }
68 updateHiddenState();
69}
70
71void ErrorFrame::setDescription(QString text)
72{

Callers 2

retranslateMethod · 0.80

Calls 2

isEmptyMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected