summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
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();
}