diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/extensionsystem/pluginmanager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libs/extensionsystem/pluginmanager.cpp b/src/libs/extensionsystem/pluginmanager.cpp index e310efe6f2..0d7b7c8b34 100644 --- a/src/libs/extensionsystem/pluginmanager.cpp +++ b/src/libs/extensionsystem/pluginmanager.cpp @@ -686,7 +686,12 @@ static inline void formatOption(QTextStream &str, str << " <" << parm << '>'; remainingIndent -= 3 + parm.size(); } - indent(str, qMax(1, remainingIndent)); + if (remainingIndent >= 1) { + indent(str, remainingIndent); + } else { + str << '\n'; + indent(str, descriptionIndentation); + } str << description << '\n'; } |