diff options
author | louib <L0U13@protonmail.com> | 2020-01-27 05:38:43 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-01-27 05:38:43 +0300 |
commit | c8ab3b5f4f0bea29e704afb05180365bc9f2c8c9 (patch) | |
tree | 0a5c0aedf1674bacd80164bc362869ff483769e6 /tests/TestModified.cpp | |
parent | 8bac8a7163272efb067d388954119c9309f05f41 (diff) |
Removing QColor (from Qt::Widgets) from core modules. (#4247)
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r-- | tests/TestModified.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestModified.cpp b/tests/TestModified.cpp index 254db3796..dcaeca8ff 100644 --- a/tests/TestModified.cpp +++ b/tests/TestModified.cpp @@ -309,13 +309,13 @@ void TestModified::testEntrySets() entry->setDefaultAutoTypeSequence(entry->defaultAutoTypeSequence()); QTRY_COMPARE(spyModified.count(), spyCount); - entry->setForegroundColor(Qt::red); + entry->setForegroundColor(QString("#FF0000")); ++spyCount; QTRY_COMPARE(spyModified.count(), spyCount); entry->setForegroundColor(entry->foregroundColor()); QTRY_COMPARE(spyModified.count(), spyCount); - entry->setBackgroundColor(Qt::red); + entry->setBackgroundColor(QString("#FF0000")); ++spyCount; QTRY_COMPARE(spyModified.count(), spyCount); entry->setBackgroundColor(entry->backgroundColor()); |