Fix more warnings and remove dead code

This commit is contained in:
Nicolas Werner 2021-12-28 22:30:12 +01:00
parent 409ff22d80
commit bb290f9fec
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
50 changed files with 276 additions and 695 deletions

View file

@ -10,28 +10,28 @@ QColor
ThemeManager::themeColor(const QString &key) const
{
if (key == "Black")
return QColor("#171919");
return QColor(0x17, 0x19, 0x19);
else if (key == "BrightWhite")
return QColor("#EBEBEB");
return QColor(0xEB, 0xEB, 0xEB);
else if (key == "FadedWhite")
return QColor("#C9C9C9");
return QColor(0xC9, 0xC9, 0xC9);
else if (key == "MediumWhite")
return QColor("#929292");
return QColor(0x92, 0x92, 0x92);
else if (key == "BrightGreen")
return QColor("#1C3133");
return QColor(0x1C, 0x31, 0x33);
else if (key == "DarkGreen")
return QColor("#577275");
return QColor(0x57, 0x72, 0x75);
else if (key == "LightGreen")
return QColor("#46A451");
return QColor(0x46, 0xA4, 0x51);
else if (key == "Gray")
return QColor("#5D6565");
return QColor(0x5D, 0x65, 0x65);
else if (key == "Red")
return QColor("#E22826");
return QColor(0xE2, 0x28, 0x26);
else if (key == "Blue")
return QColor("#81B3A9");
return QColor(0x81, 0xB3, 0xA9);
else if (key == "Transparent")
return QColor(0, 0, 0, 0);