fix: Found and fix review mistakes

This commit is contained in:
Petr Mironychev
2026-07-02 22:26:07 +02:00
parent c070d65366
commit 35bbaa1af0
139 changed files with 2032 additions and 1573 deletions

View File

@@ -15,12 +15,15 @@ class ConversationHistory;
namespace QodeAssist::Chat {
class ChatModel;
class ChatHistoryStore : public QObject
{
Q_OBJECT
public:
explicit ChatHistoryStore(ConversationHistory *history, QObject *parent = nullptr);
explicit ChatHistoryStore(
ConversationHistory *history, ChatModel *chatModel, QObject *parent = nullptr);
QString historyDir() const;
QString suggestedFileName() const;
@@ -45,6 +48,7 @@ private:
QString generateChatFileName(const QString &shortMessage, const QString &dir) const;
ConversationHistory *m_history;
ChatModel *m_chatModel;
};
} // namespace QodeAssist::Chat