From bce9d648c2497fb82624c7f612ee6eac0357b233 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 19 Apr 2024 13:56:34 +0200 Subject: ColorScheme: remove unused QWindowsApplication::isDarkMode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It unnecessarily duplicates and distributes logic for reporting whether the application should run in dark or light mode. Task-number: QTBUG-124490 Change-Id: I227660cf3e1f21afd5fd9b3d6452f6109f3cf799 Reviewed-by: Tor Arne Vestbø Reviewed-by: Wladimir Leuschner --- src/gui/kernel/qguiapplication_p.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gui/kernel/qguiapplication_p.h') diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 58c3f33394..2bfcd87f3f 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -403,8 +403,6 @@ struct Q_GUI_EXPORT QWindowsApplication virtual bool isWinTabEnabled() const = 0; virtual bool setWinTabEnabled(bool enabled) = 0; - virtual bool isDarkMode() const = 0; - virtual DarkModeHandling darkModeHandling() const = 0; virtual void setDarkModeHandling(DarkModeHandling handling) = 0; -- cgit v1.2.3