[win] refactoring

This commit is contained in:
maxkadushkin
2023-12-12 19:06:27 +03:00
parent 03816f4043
commit cbac1b176b

View File

@ -346,9 +346,6 @@ bool CWindowPlatform::nativeEvent(const QByteArray &eventType, void *message, lo
bool _changed_theme_dark = _reg.value("AppsUseLightTheme", 1).toInt() == 0;
if (_changed_theme_dark != AscAppManager::themes().isSystemSchemeDark()) {
// AscAppManager::themes().onSystemDarkColorScheme(_changed_theme_dark);
qDebug() << "system theme changed";
NSEditorApi::CAscCefMenuEvent * ns_event = new NSEditorApi::CAscCefMenuEvent(ASC_MENU_EVENT_TYPE_CEF_EXECUTE_COMMAND);
NSEditorApi::CAscExecCommand * pData = new NSEditorApi::CAscExecCommand;
pData->put_Command(L"system:changed");