refactor: Un-singletonize Paths & Updates (#5092)

This commit is contained in:
pajlada
2024-01-16 21:56:43 +01:00
committed by GitHub
parent 7f935665f9
commit 718696db53
60 changed files with 237 additions and 165 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ public:
static const int AUTO_RELOAD_INTERVAL_MS = 500;
void initialize(Settings &settings, Paths &paths) final;
void initialize(Settings &settings, const Paths &paths) final;
bool isLightTheme() const;
@@ -169,7 +169,7 @@ private:
*
* NOTE: This is currently not built to be reloadable
**/
void loadAvailableThemes();
void loadAvailableThemes(const Paths &paths);
std::optional<ThemeDescriptor> findThemeByKey(const QString &key);