mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win] refactoring
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user