The site may go offline a few minutes between 12pm EDT and 12:30pm EDT (UTC-0400) while updates are applied.

Commit 991505f6 authored by David Thompson's avatar David Thompson Committed by Kitware Robot

Merge topic 'small-tweak'

3a97d417 Fix icons in resource tree.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !1331
parents 23ec61ff 3a97d417
Pipeline #122992 failed with stage
in 0 seconds
......@@ -543,7 +543,9 @@ QIcon qtDescriptivePhraseModel::lookupIconForPhraseFlags(
resourceName << "model"; // every session has an model
break;
default:
resourceName << "invalid";
// Sometimes group entities have other bits set.
// Otherwise... it's garbage-in, garbage-out
resourceName << (flags & GROUP_ENTITY ? "group" : "invalid");
dimBits = false;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment