Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouib <L0U13@protonmail.com>2020-01-27 05:38:43 +0300
committerJonathan White <support@dmapps.us>2020-01-27 05:38:43 +0300
commitc8ab3b5f4f0bea29e704afb05180365bc9f2c8c9 (patch)
tree0a5c0aedf1674bacd80164bc362869ff483769e6 /tests/TestModified.cpp
parent8bac8a7163272efb067d388954119c9309f05f41 (diff)
Removing QColor (from Qt::Widgets) from core modules. (#4247)
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r--tests/TestModified.cpp4
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());