summaryrefslogtreecommitdiffstats
path: root/src/qtraylabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtraylabel.cpp')
-rw-r--r--src/qtraylabel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qtraylabel.cpp b/src/qtraylabel.cpp
index c3daaa3..a29e442 100644
--- a/src/qtraylabel.cpp
+++ b/src/qtraylabel.cpp
@@ -32,6 +32,8 @@
#include "trace.h"
#include "qtraylabel.h"
+#include <kglobal.h>
+
#include <X11/cursorfont.h>
#include <X11/xpm.h>
#include <Xmu/WinUtil.h>
@@ -84,7 +86,7 @@ const char *QTrayLabel::me(void) const
}
QTrayLabel::QTrayLabel(Window w, QWidget* parent, const QString& text)
- :QLabel(parent, text, WStyle_Customize | WStyle_NoBorder | WStyle_Tool),
+ :QLabel(parent, text.utf8(), WStyle_Customize | WStyle_NoBorder | WStyle_Tool),
mDockedWindow(w), mPid(0)
{
initialize();