From 7aad0dc32f36b51eff6971dd0c3520633ee508f9 Mon Sep 17 00:00:00 2001 From: Diego Viola Date: Mon, 1 Jul 2024 03:38:29 -0300 Subject: [PATCH] Theme: Fix spelling of Qt (#1062) Signed-off-by: Diego Viola --- CHANGELOG.md | 4 ++-- presets/examples/19.jsonc | 2 +- src/detection/font/font.h | 2 +- src/detection/font/font_linux.c | 2 +- src/detection/icons/icons_linux.c | 2 +- src/detection/theme/theme_linux.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1724c0e71..6ecaabf6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1107,7 +1107,7 @@ Bugfixes: * Fix Windows drives detection in WSL (Disk) Changes: -* In order to make Icons module consistent between different platforms, `--icons-format` no longer supports individual GTK / QT icon params. +* In order to make Icons module consistent between different platforms, `--icons-format` no longer supports individual GTK / Qt icon params. * `--theme-format` no longer supports individual GTK / plasma theme params. * `--local-ip-*` and `--public-ip-*` have been changed to `--localip-*` and `--publicip-*` * `--localip-compact-type` is no longer supported. Fastfetch now display IPs as `--localip-compat-type multiline` by default, with `--local-compact true` can be set as an alias of `--localip-compact-type oneline` @@ -1481,7 +1481,7 @@ Fixes build on android (#205) # 1.6.0 Features: -* Detect QT on more DEs than just KDE Plasma. The [Plasma] category was therefore renamed to [QT] +* Detect Qt on more DEs than just KDE Plasma. The [Plasma] category was therefore renamed to [Qt] * Alacritty font detection * Load `/etc/fastfetch/config.conf` before user config * Disk: print one decimal point if size < 100GB diff --git a/presets/examples/19.jsonc b/presets/examples/19.jsonc index 2663ea159..a84a24f32 100644 --- a/presets/examples/19.jsonc +++ b/presets/examples/19.jsonc @@ -147,7 +147,7 @@ { "type": "font", "key": "FONT", - "format": "{?1}{1} [QT]{?}{/1}Unknown", // Remove "[QT]" if not using Qt + "format": "{?1}{1} [Qt]{?}{/1}Unknown", // Remove "[Qt]" if not using Qt "keyColor": "yellow" }, { diff --git a/src/detection/font/font.h b/src/detection/font/font.h index 411efde7a..f0c59bba7 100644 --- a/src/detection/font/font.h +++ b/src/detection/font/font.h @@ -7,7 +7,7 @@ typedef struct FFFontResult { /** - * Linux / BSD: QT, GTK2, GTK3, GTK4 + * Linux / BSD: Qt, GTK2, GTK3, GTK4 * MacOS: System, User, System Mono, User Mono * Windows: Caption, Menu, Message, Status * Other: Unset, Unset, Unset, Unset diff --git a/src/detection/font/font_linux.c b/src/detection/font/font_linux.c index 7cee52ccd..7a7acfe43 100644 --- a/src/detection/font/font_linux.c +++ b/src/detection/font/font_linux.c @@ -9,7 +9,7 @@ static void generateString(FFFontResult* font) if(font->fonts[0].length > 0) { ffStrbufAppend(&font->display, &font->fonts[0]); - ffStrbufAppendS(&font->display, " [QT]"); + ffStrbufAppendS(&font->display, " [Qt]"); for(uint8_t i = 1; i < sizeof(font->fonts) / sizeof(font->fonts[0]); i++) { diff --git a/src/detection/icons/icons_linux.c b/src/detection/icons/icons_linux.c index d83b7ab7f..623e0813d 100644 --- a/src/detection/icons/icons_linux.c +++ b/src/detection/icons/icons_linux.c @@ -23,7 +23,7 @@ const char* ffDetectIcons(FFIconsResult* result) if(plasma->length > 0) { ffStrbufAppend(&result->icons1, plasma); - ffStrbufAppendS(&result->icons1, " [QT]"); + ffStrbufAppendS(&result->icons1, " [Qt]"); } return NULL; diff --git a/src/detection/theme/theme_linux.c b/src/detection/theme/theme_linux.c index 4b4637b88..4b4844286 100644 --- a/src/detection/theme/theme_linux.c +++ b/src/detection/theme/theme_linux.c @@ -53,7 +53,7 @@ const char* ffDetectTheme(FFThemeResult* result) } if(plasma->widgetStyle.length > 0 || plasma->colorScheme.length > 0) - ffStrbufAppendS(&result->theme1, " [QT]"); + ffStrbufAppendS(&result->theme1, " [Qt]"); return NULL; }