mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Removing QColor (from Qt::Widgets) from core modules. (#4247)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user