GUI: Fix always false condition.

Ticket: #2827 (false negative: gui/resultstree.cpp:271 condition always false)
This commit is contained in:
Kimmo Varis 2011-07-17 15:25:46 +03:00
parent 634db2ab09
commit e3cd600e4e
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ QStandardItem *ResultsTree::AddBacktraceFiles(QStandardItem *parent,
ShowTypes ResultsTree::VariantToShowType(const QVariant &data)
{
int value = data.toInt();
if (value < SHOW_STYLE && value > SHOW_ERRORS)
if (value < SHOW_STYLE || value > SHOW_ERRORS)
{
return SHOW_NONE;
}