[PC-BSD Commits] r629 - pcbsd/trunk/kcmPBMsource
svn at pcbsd.org
svn at pcbsd.org
Mon Aug 27 22:41:57 PDT 2007
Author: kris
Date: 2007-08-27 22:41:57 -0700 (Mon, 27 Aug 2007)
New Revision: 629
Modified:
pcbsd/trunk/kcmPBMsource/kcm.cpp
Log:
Fixed loading of translations for PBI removal tool
Modified: pcbsd/trunk/kcmPBMsource/kcm.cpp
===================================================================
--- pcbsd/trunk/kcmPBMsource/kcm.cpp 2007-08-28 03:48:03 UTC (rev 628)
+++ pcbsd/trunk/kcmPBMsource/kcm.cpp 2007-08-28 05:41:57 UTC (rev 629)
@@ -6,6 +6,7 @@
#include ".ui/pbm.h"
#include ".ui/notroot.h"
#include <kcm.h>
+#include <qtranslator.h>
PCBSDKCModule::PCBSDKCModule(QWidget *parent,
@@ -22,6 +23,9 @@
{
buttons();
setButtons(KCModule::Help);
+ QString LANG="kcm_pcbsdpbm";
+ KGlobal::locale()->insertCatalogue(LANG);
+
PBM *pbmproc = new PBM(parent);
pbmproc->ProgramInit();
pbmproc->reparent(this, QPoint());
More information about the Commits
mailing list