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

Method setIcon

src/envshortcut.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void setIcon(const QString& file, int i)
64 {
65 if (file.isEmpty()) {
66 return;
67 }
68
69 const auto r = m_link->SetIconLocation(file.toStdWString().c_str(), i);
70 throwOnFail(r, QString("failed to set icon '%1' @ %2").arg(file).arg(i));
71 }
72
73 void setWorkingDirectory(const QString& s)
74 {

Callers 10

updateListMethod · 0.80
populateMethod · 0.80
addChoiceMethod · 0.80
resetActionIconsMethod · 0.80
updateProblemsButtonMethod · 0.80
checkBSAListMethod · 0.80
on_linkButton_pressedMethod · 0.80
warnUnrecognizedMethod · 0.80
updateButtonMethod · 0.80
addMethod · 0.80

Calls 2

QStringClass · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected