mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-07-11 13:51:04 -04:00
fix: Found and fix review mistakes
This commit is contained in:
@@ -7,14 +7,10 @@
|
||||
#include <QJsonObject>
|
||||
#include <QList>
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
#include <QString>
|
||||
|
||||
#include "McpServerConnection.hpp"
|
||||
|
||||
class QFileSystemWatcher;
|
||||
class QTimer;
|
||||
|
||||
namespace QodeAssist::Mcp {
|
||||
|
||||
class McpClientsManager : public QObject
|
||||
@@ -49,18 +45,13 @@ private:
|
||||
|
||||
void loadFromDisk();
|
||||
void ensureFileExists();
|
||||
void setupWatcher();
|
||||
void updateWatchedPaths();
|
||||
|
||||
static QJsonObject builtinServers();
|
||||
QJsonObject readRoot() const;
|
||||
bool writeRoot(const QJsonObject &root);
|
||||
|
||||
bool m_initialized = false;
|
||||
bool m_suppressNextWatcherReload = false;
|
||||
QList<McpServerConnection *> m_connections;
|
||||
QPointer<QFileSystemWatcher> m_watcher;
|
||||
QPointer<QTimer> m_reloadDebounce;
|
||||
};
|
||||
|
||||
} // namespace QodeAssist::Mcp
|
||||
|
||||
Reference in New Issue
Block a user