Use const references where possible

Good practice and a minor performance improvement.
This commit is contained in:
Luís Pereira
2020-10-23 12:21:53 +01:00
committed by Chih-Hsuan Yen
parent 6ed0118206
commit 4b32b62df3
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ void QTermWidget::setTerminalOpacity(qreal level)
m_impl->m_terminalDisplay->setOpacity(level);
}
void QTermWidget::setTerminalBackgroundImage(QString backgroundImage)
void QTermWidget::setTerminalBackgroundImage(const QString& backgroundImage)
{
m_impl->m_terminalDisplay->setBackgroundImage(backgroundImage);
}