diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-07 15:35:03 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-09-07 17:18:05 +0000 |
commit | 94a774403746d76f2e43ef83d6d5b2848554a9a1 (patch) | |
tree | f7ca2c8d8b1ff10b9a2c9fbd892b9110b039d789 /src/tools | |
parent | f79387a3cff1edb4cbb8c93e288e9ecd3d2c8303 (diff) | |
download | qtbase-94a774403746d76f2e43ef83d6d5b2848554a9a1.tar.gz |
uic: Remove trailing blanks generated into Python icon code
The indentation is only required for C++.
Change-Id: Ie861b12ba262fd56995c11d883129bafd11eface
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit d1175e20cf61fa37cff03c76d4714cc8fdbd7b8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/uic/cpp/cppwriteinitialization.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/uic/cpp/cppwriteinitialization.cpp b/src/tools/uic/cpp/cppwriteinitialization.cpp index e9ad0352af..8747bf48cc 100644 --- a/src/tools/uic/cpp/cppwriteinitialization.cpp +++ b/src/tools/uic/cpp/cppwriteinitialization.cpp @@ -1827,9 +1827,8 @@ QString WriteInitialization::writeIconProperties(const DomResourceIcon *i) writeResourceIcon(m_output, iconName, m_dindent, i); else writePixmapFunctionIcon(m_output, iconName, m_dindent, i); - m_output << m_indent; if (isCpp) - m_output << '}'; + m_output << m_indent << '}'; m_output << '\n'; return iconName; } |