Commit 4dea29c9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Setup the base fonts, backporting in a moment

svn path=/trunk/kdegraphics/kpdf/; revision=345324
parent 7f8bc10a
......@@ -22,6 +22,7 @@
#include <qstring.h>
#include <kdebug.h>
#include <klocale.h>
#include <kmessagebox.h>
......@@ -67,6 +68,7 @@ void CDECL error(int pos, const char *msg, ...) {
{
// TODO think a way to avoid threads can popup that
// KMessageBox::error(0, emsg);
kdDebug() << emsg << endl;
errors::add(emsg);
}
}
......@@ -77,6 +77,7 @@ Part::Part(QWidget *parentWidget, const char *widgetName,
new BrowserExtension(this);
globalParams = new GlobalParams("");
globalParams->setupBaseFonts(NULL);
// we need an instance
setInstance(KPDFPartFactory::instance());
......
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