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>
This commit is contained in:
parent
f79387a3cf
commit
94a7744037
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user