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
@@ -711,7 +711,7 @@ void TerminalDisplay::setOpacity(qreal opacity)
_blendColor = color.rgba();
}
void TerminalDisplay::setBackgroundImage(QString backgroundImage)
void TerminalDisplay::setBackgroundImage(const QString& backgroundImage)
{
if (!backgroundImage.isEmpty())
{