Use const references where possible
Good practice and a minor performance improvement.
This commit is contained in:
committed by
Chih-Hsuan Yen
parent
6ed0118206
commit
4b32b62df3
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user