diff options
Diffstat (limited to 'tests/auto/debugger')
-rw-r--r-- | tests/auto/debugger/tst_offsets.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/debugger/tst_offsets.cpp b/tests/auto/debugger/tst_offsets.cpp index de23be850c..48ecb9ea85 100644 --- a/tests/auto/debugger/tst_offsets.cpp +++ b/tests/auto/debugger/tst_offsets.cpp @@ -76,8 +76,10 @@ void tst_offsets::offsets_data() QFilePrivate *p = 0; QTestData &data = QTest::newRow("QFilePrivate::fileName") << int((char *)&p->fileName - (char *)p); - if (qtVersion >= 0x50200) + if (qtVersion > 0x50200) data << 176 << 272; + else if (qtVersion == 0x50200) + data << 176 << 280; else if (qtVersion >= 0x50000) data << 180 << 280; else |