fix: Change status bar icon for show chat

This commit is contained in:
Petr Mironychev
2025-08-16 23:21:29 +02:00
parent 543c79161d
commit 88c11c4702
4 changed files with 5 additions and 1 deletions

View File

@ -8,5 +8,7 @@
<file>resources/images/improve-current-code-icon.png</file> <file>resources/images/improve-current-code-icon.png</file>
<file>resources/images/suggest-new-icon.png</file> <file>resources/images/suggest-new-icon.png</file>
<file>resources/images/suggest-new-icon@2x.png</file> <file>resources/images/suggest-new-icon@2x.png</file>
<file>resources/images/qode-assist-chat-icon.png</file>
<file>resources/images/qode-assist-chat-icon@2x.png</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@ -128,6 +128,8 @@ public:
Utils::Icon QCODEASSIST_ICON( Utils::Icon QCODEASSIST_ICON(
{{":/resources/images/qoderassist-icon.png", Utils::Theme::IconsBaseColor}}); {{":/resources/images/qoderassist-icon.png", Utils::Theme::IconsBaseColor}});
Utils::Icon QCODEASSIST_CHAT_ICON(
{{":/resources/images/qode-assist-chat-icon.png", Utils::Theme::IconsBaseColor}});
ActionBuilder requestAction(this, Constants::QODE_ASSIST_REQUEST_SUGGESTION); ActionBuilder requestAction(this, Constants::QODE_ASSIST_REQUEST_SUGGESTION);
requestAction.setToolTip( requestAction.setToolTip(
@ -199,7 +201,7 @@ public:
showChatViewAction.setDefaultKeySequence(showChatViewShortcut); showChatViewAction.setDefaultKeySequence(showChatViewShortcut);
showChatViewAction.setToolTip(Tr::tr("Show QodeAssist Chat")); showChatViewAction.setToolTip(Tr::tr("Show QodeAssist Chat"));
showChatViewAction.setText(Tr::tr("Show QodeAssist Chat")); showChatViewAction.setText(Tr::tr("Show QodeAssist Chat"));
showChatViewAction.setIcon(QCODEASSIST_ICON.icon()); showChatViewAction.setIcon(QCODEASSIST_CHAT_ICON.icon());
showChatViewAction.addOnTriggered(this, [this] { showChatViewAction.addOnTriggered(this, [this] {
if (!m_chatView->isVisible()) { if (!m_chatView->isVisible()) {
m_chatView->show(); m_chatView->show();

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB