Commit a8dd4559 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix DebugConsoleTest

The debug console now displays window ids as hexidecimal numbers.
parent 267eb0e9
......@@ -237,7 +237,7 @@ void DebugConsoleTest::testX11Unmanaged()
QVERIFY(!model.index(0, 2, unmanagedTopLevelIndex).isValid());
QVERIFY(!model.index(1, 0, unmanagedTopLevelIndex).isValid());
QCOMPARE(, Qt::DisplayRole).toString(), QString::number(window));
QCOMPARE(, Qt::DisplayRole).toString(), QStringLiteral("0x%1").arg(window, 0, 16));
// the clientIndex has children and those are properties
for (int i = 0; i < model.rowCount(clientIndex); i++) {
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