GUI: Fix always false condition.
Ticket: #2827 (false negative: gui/resultstree.cpp:271 condition always false)
This commit is contained in:
parent
634db2ab09
commit
e3cd600e4e
|
@ -268,7 +268,7 @@ QStandardItem *ResultsTree::AddBacktraceFiles(QStandardItem *parent,
|
||||||
ShowTypes ResultsTree::VariantToShowType(const QVariant &data)
|
ShowTypes ResultsTree::VariantToShowType(const QVariant &data)
|
||||||
{
|
{
|
||||||
int value = data.toInt();
|
int value = data.toInt();
|
||||||
if (value < SHOW_STYLE && value > SHOW_ERRORS)
|
if (value < SHOW_STYLE || value > SHOW_ERRORS)
|
||||||
{
|
{
|
||||||
return SHOW_NONE;
|
return SHOW_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue