summaryrefslogtreecommitdiffstats
path: root/src/qtraylabel.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-07-07 20:15:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-10 02:11:16 +0200
commit16361fd6e9621104f1059840888967c801572f64 (patch)
tree50fa2134394dfd08fb52ba2dd7371b0b5b312830 /src/qtraylabel.cpp
parentb3232d4ada69467b8c535776d43873bd7b73dadc (diff)
downloadtdedocker-16361fd6e9621104f1059840888967c801572f64.tar.gz
tdedocker-16361fd6e9621104f1059840888967c801572f64.zip
Translations converted to gettext
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();