Browse Source

Accessing singleton instead of self

Source commit: a398a511c2ce2bbb03a7b70fd64c59e99cc264b3
Martin Prikryl 1 tháng trước cách đây
mục cha
commit
e063e1ea32
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;