Remove temporary code

This commit is contained in:
Petr Mironychev 2024-10-07 00:49:49 +02:00
parent 30fcd7e019
commit b808d0ec10
2 changed files with 2 additions and 5 deletions

View File

@ -12,6 +12,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
find_package(QtCreator REQUIRED COMPONENTS Core)
find_package(Qt6 COMPONENTS Core Gui Widgets Network REQUIRED)
add_subdirectory(chatview)
add_qtc_plugin(QodeAssist
PLUGIN_DEPENDS
QtCreator::Core
@ -65,6 +67,4 @@ add_qtc_plugin(QodeAssist
chat/NavigationPanel.hpp chat/NavigationPanel.cpp
)
add_subdirectory(chatview)
target_link_libraries(QodeAssist PUBLIC QodeAssistChatViewplugin)

View File

@ -43,7 +43,6 @@
#include "PromptTemplateManager.hpp"
#include "QodeAssistClient.hpp"
#include "chat/ChatOutputPane.h"
#include "chat/NavigationPanel.hpp"
#include "providers/LMStudioProvider.hpp"
#include "providers/OllamaProvider.hpp"
#include "providers/OpenAICompatProvider.hpp"
@ -117,7 +116,6 @@ public:
StatusBarManager::addStatusBarWidget(toggleButton, StatusBarManager::RightCorner);
m_chatOutputPane = new Chat::ChatOutputPane(this);
m_navigationPanel.reset(new Chat::NavigationPanel());
}
void extensionsInitialized() final
@ -152,7 +150,6 @@ public:
private:
QScopedPointer<QodeAssistClient> m_qodeAssistClient;
QPointer<Chat::ChatOutputPane> m_chatOutputPane;
QScopedPointer<Chat::NavigationPanel> m_navigationPanel;
};
} // namespace QodeAssist::Internal