diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2021-03-06 20:26:21 +0100 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2021-03-06 20:29:50 +0100 |
| commit | 0396fdb01d12e51bd2cc63478819b366c0453d29 (patch) | |
| tree | 082fcd53b7b61c0dc2a0dc6b676729e155c07fd2 /src/documentstyle.hpp | |
| parent | 21c821c49ef82d1e84b0b9c8c3d357dc559479d4 (diff) | |
| download | kristall-0396fdb01d12e51bd2cc63478819b366c0453d29.tar.gz | |
Moves all globals into a structure that can be deleted before the app exists. Fixes #193.
Diffstat (limited to 'src/documentstyle.hpp')
| -rw-r--r-- | src/documentstyle.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/documentstyle.hpp b/src/documentstyle.hpp index a960863..9f2decd 100644 --- a/src/documentstyle.hpp +++ b/src/documentstyle.hpp @@ -15,7 +15,14 @@ struct DocumentStyle AutoLightTheme = 2 }; - DocumentStyle(bool do_init = true); + struct DefaultFonts + { + QString regular, fixed; + + DefaultFonts(); + }; + + DocumentStyle(); void initialiseDefaultFonts(); |
