summaryrefslogtreecommitdiffstats
path: root/src/trayicon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trayicon.cpp')
-rw-r--r--src/trayicon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trayicon.cpp b/src/trayicon.cpp
index 99f80def..bc6972aa 100644
--- a/src/trayicon.cpp
+++ b/src/trayicon.cpp
@@ -128,6 +128,6 @@ void TrayIcon::iconActivated(QSystemTrayIcon::ActivationReason reason) {
* @param msg
* @param time
*/
-void TrayIcon::showMessage(QString title, QString msg, int time) {
+void TrayIcon::showMessage(const QString &title, const QString &msg, int time) {
sysTrayIcon->showMessage(title, msg, QSystemTrayIcon::Information, time);
}