Skip to content

Commit

Permalink
[win] debug portal's tab color
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Nov 2, 2023
1 parent 450b73c commit aca6c84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion win-linux/src/ccefeventstransformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ void CCefEventsTransformer::OnEvent(QObject * target, NSEditorApi::CAscCefMenuEv
// QMetaObject::invokeMethod( target, "onLocalFilesCheck", Qt::QueuedConnection,
// Q_ARG(QString, QString::fromStdWString(pData->get_Param())) );
if ( cmd.compare(L"portal:uitheme") == 0 ) {
QMetaObject::invokeMethod(target, "onPortalUITheme", Qt::QueuedConnection, Q_ARG(std::wstring, pData->get_Param()));
QMetaObject::invokeMethod(target, "onPortalUITheme", Qt::QueuedConnection,
Q_ARG(int, event->get_SenderId()), Q_ARG(std::wstring, pData->get_Param()));
} else
if ( !(cmd.find(L"files:explore") == std::wstring::npos) ) {
QMetaObject::invokeMethod( target, "onLocalFileLocation", Qt::QueuedConnection,
Expand Down

0 comments on commit aca6c84

Please sign in to comment.