aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/NotifierMessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/notifier/NotifierMessage.cpp')
-rw-r--r--src/modules/notifier/NotifierMessage.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/notifier/NotifierMessage.cpp b/src/modules/notifier/NotifierMessage.cpp
index 83910e576..6e9018a0d 100644
--- a/src/modules/notifier/NotifierMessage.cpp
+++ b/src/modules/notifier/NotifierMessage.cpp
@@ -31,9 +31,11 @@
#include <QRect>
#include <QResizeEvent>
+#include <utility>
-NotifierMessage::NotifierMessage(QPixmap * pPixmap, const QString & szText)
- : m_szText{szText}, m_pPixmap{pPixmap}
+NotifierMessage::NotifierMessage(QPixmap * pPixmap, QString szText)
+ : m_szText{ std::move(szText) }
+ , m_pPixmap{ pPixmap }
{
m_pHBox = new QHBoxLayout(this);
m_pHBox->setSpacing(SPACING);