diff --git a/QodeAssist.qrc b/QodeAssist.qrc index fe0d593..f75afc4 100644 --- a/QodeAssist.qrc +++ b/QodeAssist.qrc @@ -8,5 +8,7 @@ resources/images/improve-current-code-icon.png resources/images/suggest-new-icon.png resources/images/suggest-new-icon@2x.png + resources/images/qode-assist-chat-icon.png + resources/images/qode-assist-chat-icon@2x.png diff --git a/qodeassist.cpp b/qodeassist.cpp index 5d8a40b..d2ff985 100644 --- a/qodeassist.cpp +++ b/qodeassist.cpp @@ -128,6 +128,8 @@ public: Utils::Icon QCODEASSIST_ICON( {{":/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); requestAction.setToolTip( @@ -199,7 +201,7 @@ public: showChatViewAction.setDefaultKeySequence(showChatViewShortcut); showChatViewAction.setToolTip(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] { if (!m_chatView->isVisible()) { m_chatView->show(); diff --git a/resources/images/qode-assist-chat-icon.png b/resources/images/qode-assist-chat-icon.png new file mode 100644 index 0000000..e1ef93f Binary files /dev/null and b/resources/images/qode-assist-chat-icon.png differ diff --git a/resources/images/qode-assist-chat-icon@2x.png b/resources/images/qode-assist-chat-icon@2x.png new file mode 100644 index 0000000..7bb2799 Binary files /dev/null and b/resources/images/qode-assist-chat-icon@2x.png differ