summaryrefslogtreecommitdiffstats
path: root/ksvg/plugin/svgcreator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-06-21 15:04:11 -0500
committerTimothy Pearson <[email protected]>2013-06-21 15:04:11 -0500
commit6792dcd1ea0be1edf7f91dfda15829001c3f0e7d (patch)
tree65b8caf8276deaaa66af8d204346369d04d1ee11 /ksvg/plugin/svgcreator.cpp
parentaf3e4faad3d3f2dae56e6033630e438bd9a36179 (diff)
downloadtdegraphics-6792dcd1ea0be1edf7f91dfda15829001c3f0e7d.tar.gz
tdegraphics-6792dcd1ea0be1edf7f91dfda15829001c3f0e7d.zip
Fix ksvg not respecting fit request
This resolves Bug 1018
Diffstat (limited to 'ksvg/plugin/svgcreator.cpp')
-rw-r--r--ksvg/plugin/svgcreator.cpp5
1 files changed, 3 insertions, 2 deletions
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();