diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-31 12:35:21 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-31 10:13:49 +0100 |
| commit | 4fa674ef6101e89a55b2006090a18f871490e31f (patch) | |
| tree | 3404f05c3a9ac583cff46d98fd50fdbdfd07ca9f /src/documentstyle.cpp | |
| parent | dd8ebd62c544c3af16da80bda80b998108d9d09a (diff) | |
DocumentStyle: fix for #39
Was due to a missing 'break' statement, so settings with version value 1 would fall into the default case (returns from method).
Diffstat (limited to 'src/documentstyle.cpp')
| -rw-r--r-- | src/documentstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/documentstyle.cpp b/src/documentstyle.cpp index f60387e..edc1f0e 100644 --- a/src/documentstyle.cpp +++ b/src/documentstyle.cpp @@ -318,7 +318,7 @@ bool DocumentStyle::load(QSettings &settings) settings.endGroup(); } - } + } break; default: return false; } |
