diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-04-25 10:40:08 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-04-26 07:55:00 +0000 |
commit | 2d8ce380c9f97d403d8afc0e229bbb3123636ee4 (patch) | |
tree | b380de78a59155d7a1e88ee770e375c1a6233fc3 /src/plugins/clangformat/clangformatutils.h | |
parent | 57c48630a8c54792937530571765aeee76061998 (diff) |
ClangFormat: Fix UI issues
- 'Default' values remain so after save/load
- the language is fixed to C++
- the project settings are shown correctly
- fix parsing configuration file
- do not trigger slots when we fill the table
Change-Id: I91b477721b5084803324cd38d0cfeb9d5650dd9f
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/clangformat/clangformatutils.h')
-rw-r--r-- | src/plugins/clangformat/clangformatutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/clangformat/clangformatutils.h b/src/plugins/clangformat/clangformatutils.h index bd53076943..2db47003ca 100644 --- a/src/plugins/clangformat/clangformatutils.h +++ b/src/plugins/clangformat/clangformatutils.h @@ -40,6 +40,9 @@ void createStyleFileIfNeeded(bool isGlobal); QString currentProjectUniqueId(); +std::string currentProjectConfigText(); +std::string currentGlobalConfigText(); + clang::format::FormatStyle currentProjectStyle(); clang::format::FormatStyle currentGlobalStyle(); |