From 6792dcd1ea0be1edf7f91dfda15829001c3f0e7d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 21 Jun 2013 15:04:11 -0500 Subject: Fix ksvg not respecting fit request This resolves Bug 1018 --- ksvg/plugin/svgcreator.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ksvg/plugin/svgcreator.cpp') diff --git a/ksvg/plugin/svgcreator.cpp b/ksvg/plugin/svgcreator.cpp index 21d687be..521a8b88 100644 --- a/ksvg/plugin/svgcreator.cpp +++ b/ksvg/plugin/svgcreator.cpp @@ -54,7 +54,7 @@ bool SVGCreator::create(const TQString &path, int width, int height, TQImage &im { KSVG::SVGDocumentImpl *doc = new KSVG::SVGDocumentImpl(false, true); doc->ref(); - + TQPixmap pix(width, height); pix.fill(TQt::white); @@ -67,8 +67,9 @@ bool SVGCreator::create(const TQString &path, int width, int height, TQImage &im m_finished = false; - while(!m_finished) + while(!m_finished) { kapp->processOneEvent(); + } doc->deref(); -- cgit v1.2.1