浏览代码

Accessing singleton instead of self

Source commit: a398a511c2ce2bbb03a7b70fd64c59e99cc264b3
Martin Prikryl 1 月之前
父节点
当前提交
e063e1ea32
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/windows/WinConfiguration.cpp

+ 1 - 1
source/windows/WinConfiguration.cpp

@@ -2238,7 +2238,7 @@ void __fastcall TWinConfiguration::SetDarkTheme(TAutoSwitch value)
 //---------------------------------------------------------------------------
 bool __fastcall TWinConfiguration::UseDarkTheme()
 {
-  switch (WinConfiguration->DarkTheme)
+  switch (DarkTheme)
   {
     case asOn:
       return true;