diff --git a/rpcs3/rpcs3qt/qt_utils.h b/rpcs3/rpcs3qt/qt_utils.h index 4fb0e8f8d8..fbac5270f5 100644 --- a/rpcs3/rpcs3qt/qt_utils.h +++ b/rpcs3/rpcs3qt/qt_utils.h @@ -150,12 +150,13 @@ namespace gui static inline Qt::ColorScheme color_scheme() { + // use the QGuiApplication's properties to report the default GUI color scheme return QGuiApplication::styleHints()->colorScheme(); } static inline bool dark_mode_active() { - // use the QGuiApplication's properties to report the default color scheme + // "true" if the default GUI color scheme is dark. "false" otherwise return color_scheme() == Qt::ColorScheme::Dark; }