summary refs log tree commit diff
path: root/src/ui/ThemeManager.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-09-17 23:06:03 +0000
committerGitHub <noreply@github.com>2021-09-17 23:06:03 +0000
commitd1c8149d07b6c4be63cec581e5a7f5108ce56058 (patch)
tree32b92340908a9374214ec7b84c1fac7ea338f56d /src/ui/ThemeManager.cpp
parentMerge pull request #728 from Thulinma/goto (diff)
parentChange indentation to 4 spaces (diff)
downloadnheko-d1c8149d07b6c4be63cec581e5a7f5108ce56058.tar.xz
Merge pull request #729 from Nheko-Reborn/reformat
Change indentation to 4 spaces
Diffstat (limited to 'src/ui/ThemeManager.cpp')
-rw-r--r--src/ui/ThemeManager.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/ui/ThemeManager.cpp b/src/ui/ThemeManager.cpp

index b7b3df40..0c84777a 100644 --- a/src/ui/ThemeManager.cpp +++ b/src/ui/ThemeManager.cpp
@@ -11,32 +11,32 @@ ThemeManager::ThemeManager() {} QColor ThemeManager::themeColor(const QString &key) const { - if (key == "Black") - return QColor("#171919"); + if (key == "Black") + return QColor("#171919"); - else if (key == "BrightWhite") - return QColor("#EBEBEB"); - else if (key == "FadedWhite") - return QColor("#C9C9C9"); - else if (key == "MediumWhite") - return QColor("#929292"); + else if (key == "BrightWhite") + return QColor("#EBEBEB"); + else if (key == "FadedWhite") + return QColor("#C9C9C9"); + else if (key == "MediumWhite") + return QColor("#929292"); - else if (key == "BrightGreen") - return QColor("#1C3133"); - else if (key == "DarkGreen") - return QColor("#577275"); - else if (key == "LightGreen") - return QColor("#46A451"); + else if (key == "BrightGreen") + return QColor("#1C3133"); + else if (key == "DarkGreen") + return QColor("#577275"); + else if (key == "LightGreen") + return QColor("#46A451"); - else if (key == "Gray") - return QColor("#5D6565"); - else if (key == "Red") - return QColor("#E22826"); - else if (key == "Blue") - return QColor("#81B3A9"); + else if (key == "Gray") + return QColor("#5D6565"); + else if (key == "Red") + return QColor("#E22826"); + else if (key == "Blue") + return QColor("#81B3A9"); - else if (key == "Transparent") - return QColor(0, 0, 0, 0); + else if (key == "Transparent") + return QColor(0, 0, 0, 0); - return (QColor(0, 0, 0, 0)); + return (QColor(0, 0, 0, 0)); }