diff options
author | Timothy Pearson <[email protected]> | 2013-06-21 15:04:11 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-06-21 15:04:11 -0500 |
commit | 6792dcd1ea0be1edf7f91dfda15829001c3f0e7d (patch) | |
tree | 65b8caf8276deaaa66af8d204346369d04d1ee11 /ksvg/plugin/svgcreator.cpp | |
parent | af3e4faad3d3f2dae56e6033630e438bd9a36179 (diff) | |
download | tdegraphics-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.cpp | 5 |
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(); |