Commit 0749d663 authored by Tobias Hunger's avatar Tobias Hunger Committed by Christian Stenger
Browse files

Fix warning about comparing an enum to an integer

Change-Id: I2a35fa58c5e68d3bd2bb38599ddcf7c4e8e0deb2
Reviewed-by: default avatarChristian Stenger <>
parent 1daf85a7
......@@ -73,7 +73,7 @@ static QIcon testTreeIcon(TestTreeItem::Type type)
if (type >= sizeof(icons))
if (static_cast<unsigned long>(type) >= sizeof(icons))
return icons[2];
return icons[type];
Supports Markdown
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