Ver código fonte

Accessing singleton instead of self

Source commit: a398a511c2ce2bbb03a7b70fd64c59e99cc264b3
Martin Prikryl 1 mês atrás
pai
commit
e063e1ea32
1 arquivos alterados com 1 adições e 1 exclusões
  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;