fix a typo in contrastUiColor
This commit is contained in:
@@ -152,8 +152,9 @@ ConfigHandler::uiContrastColorValue()
|
||||
{
|
||||
QColor res = QColor(86, 0, 120);
|
||||
|
||||
if (m_settings.contains(QStringLiteral("contastUiColor"))) {
|
||||
QString hex = m_settings.value(QStringLiteral("contastUiColor")).toString();
|
||||
if (m_settings.contains(QStringLiteral("contrastUiColor"))) {
|
||||
QString hex =
|
||||
m_settings.value(QStringLiteral("contrastUiColor")).toString();
|
||||
|
||||
if (QColor::isValidColor(hex)) {
|
||||
res = QColor(hex);
|
||||
@@ -166,7 +167,7 @@ ConfigHandler::uiContrastColorValue()
|
||||
void
|
||||
ConfigHandler::setUIContrastColor(const QColor& c)
|
||||
{
|
||||
m_settings.setValue(QStringLiteral("contastUiColor"), c.name());
|
||||
m_settings.setValue(QStringLiteral("contrastUiColor"), c.name());
|
||||
}
|
||||
|
||||
QColor
|
||||
|
||||
Reference in New Issue
Block a user