MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / setDescription

Method setDescription

src/envshortcut.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void setDescription(const QString& s)
54 {
55 if (s.isEmpty()) {
56 return;
57 }
58
59 const auto r = m_link->SetDescription(s.toStdWString().c_str());
60 throwOnFail(r, QString("failed to set description '%1'").arg(s));
61 }
62
63 void setIcon(const QString& file, int i)
64 {

Callers 4

TypePageMethod · 0.80
updateButtonMethod · 0.80
createCustomButtonMethod · 0.80
addMethod · 0.80

Calls 2

QStringClass · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected