summaryrefslogtreecommitdiffstats
path: root/src/main.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/main.cpp
parentb3232d4ada69467b8c535776d43873bd7b73dadc (diff)
downloadtdedocker-16361fd6e9621104f1059840888967c801572f64.tar.gz
tdedocker-16361fd6e9621104f1059840888967c801572f64.zip
Translations converted to gettext
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e507079..579e2fa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -24,6 +24,8 @@
#include <unistd.h>
#include <signal.h>
+#include <klocale.h>
+
#include <qdir.h>
#include "kdocker.h"
#include "traylabelmgr.h"
@@ -38,7 +40,7 @@ static void sighandler(int sig)
return;
}
- qDebug(qApp->translate("KDocker", "Caught signal %1. Cleaning up.").arg(sig));
+ qDebug(i18n("Caught signal %1. Cleaning up.").arg(sig).local8Bit());
((KDocker *)qApp)->trayLabelMgr()->undockAll();
}