Commit 40f3c3ce authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by hjk

Debugger: Fix compilation with Qt4

Change-Id: I04e03d107f5c96c4dc8d78cd88da70bce932b34c
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 1cfdacc0
......@@ -265,7 +265,8 @@ struct Sorter
const QVariant v2 = threadPart(t2, m_column);
if (v1 == v2)
return false;
return (v1 < v2) ^ (m_order == Qt::DescendingOrder);
// FIXME: Use correct toXXX();
return (v1.toString() < v2.toString()) ^ (m_order == Qt::DescendingOrder);
}
int m_column;
......
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