forked from qt-creator/qt-creator
FontSettings: Change argument to be const-reference
Change-Id: I8fb22db04692e245819c8b4c778b31e127f1880e Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ca6fa32606
commit
47295d267f
@@ -219,7 +219,7 @@ void FontSettings::addMixinStyle(QTextCharFormat &textCharFormat,
|
||||
};
|
||||
}
|
||||
|
||||
QTextCharFormat FontSettings::toTextCharFormat(const TextStyles textStyles) const
|
||||
QTextCharFormat FontSettings::toTextCharFormat(const TextStyles &textStyles) const
|
||||
{
|
||||
auto textCharFormatIterator = m_textCharFormatCache.find(textStyles);
|
||||
if (textCharFormatIterator != m_textCharFormatCache.end())
|
||||
|
||||
Reference in New Issue
Block a user