mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
tooling: add per-shell tooling lock to prevent races
This commit is contained in:
parent
986749cdb9
commit
78e3874ac6
2 changed files with 41 additions and 0 deletions
|
|
@ -12,9 +12,11 @@ public:
|
|||
|
||||
private:
|
||||
static QString getQmllsConfig();
|
||||
static bool lockTooling();
|
||||
static bool updateQmllsConfig(const QDir& configRoot, bool create);
|
||||
static void updateToolingFs(QmlScanner& scanner, const QDir& scanDir, const QDir& linkDir);
|
||||
static inline bool toolingEnabled = false;
|
||||
static inline QFile* toolingLock = nullptr;
|
||||
};
|
||||
|
||||
} // namespace qs::core
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue