Skip to content

Commit 5413a7e

Browse files
committed
ui/test: replace m_previewEdit with m_previewLabel in AssignHotKey
1 parent dd5e3c0 commit 5413a7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/test/assignhotkey/assignhotkey_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ void AssignHotKey_Test::initial()
3232
QKeySequence seq(Qt::Key_A | Qt::SHIFT);
3333
AssignHotKey ahk(NULL, seq);
3434
QCOMPARE(ahk.keySequence(), seq);
35-
QCOMPARE(ahk.m_previewEdit->text(), seq.toString(QKeySequence::NativeText));
36-
QCOMPARE(ahk.m_previewEdit->isReadOnly(), true);
35+
QCOMPARE(ahk.m_previewLabel->text(), seq.toString(QKeySequence::NativeText));
3736
}
3837

3938
void AssignHotKey_Test::keyPressEventAuto()

0 commit comments

Comments
 (0)