From ec5abc026d462b82693103f73ad77d7b369f99bc Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Fri, 3 Jul 2015 09:56:38 +0200 Subject: [PATCH] Set application domain for translations --- gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/gui.cpp b/gui/gui.cpp index 33325f0..64b0b7f 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -28,6 +28,9 @@ int main(int argc, char** argv) { QApplication app(argc, argv); + + KLocalizedString::setApplicationDomain("heaptrack"); + KAboutData aboutData(QStringLiteral("heaptrack_gui"), i18n("Heaptrack GUI"), QStringLiteral("0.1"), i18n("A visualizer for heaptrack data files."), KAboutLicense::LGPL, i18n("Copyright 2015, Milian Wolff "), QString(), QStringLiteral("mail@milianw.de")); -- 2.7.4