aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangformat/clangformatindenter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/clangformat/clangformatindenter.cpp')
-rw-r--r--src/plugins/clangformat/clangformatindenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangformat/clangformatindenter.cpp b/src/plugins/clangformat/clangformatindenter.cpp
index 42cedb7b6c9..381762ee7f2 100644
--- a/src/plugins/clangformat/clangformatindenter.cpp
+++ b/src/plugins/clangformat/clangformatindenter.cpp
@@ -57,7 +57,7 @@ bool ClangFormatIndenter::formatWhileTyping() const
Utils::optional<TabSettings> ClangFormatIndenter::tabSettings() const
{
- FormatStyle style = currentProjectStyle();
+ FormatStyle style = styleForFile();
TabSettings tabSettings;
switch (style.UseTab) {