MCPcopy Create free account
hub / github.com/MrBeanCpp/Dr-Folder / isUsingDefaultIcon

Method isUsingDefaultIcon

utils.cpp:136–140  ·  view source on GitHub ↗

slow

Source from the content-addressed store, hash-verified

134}
135// slow
136bool Util::isUsingDefaultIcon(const QString& exePath)
137{
138 UINT iconCount = ExtractIconEx(exePath.toStdWString().c_str(), -1, NULL, NULL, 0);
139 return iconCount == 0;
140}
141// slow
142bool Util::isDefaultExeIcon(const QIcon& icon) {
143 static const QSize IconSize(16, 16);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected