Commit b579d045 authored by Albert Astals Cid's avatar Albert Astals Cid

Show translations when embedded in Konq

svn path=/trunk/kdegraphics/kpdf/; revision=381500
parent 12eb3d48
......@@ -74,6 +74,9 @@ Part::Part(QWidget *parentWidget, const char *widgetName,
const QStringList & /*args*/ )
: DCOPObject("kpdf"), KParts::ReadOnlyPart(parent, name), m_showMenuBarAction(0), m_actionsSearched(false)
{
// load catalog for translation
KGlobal::locale()->insertCatalogue("kpdf");
// create browser extension (for printing when embedded into browser)
new BrowserExtension(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment