summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentloadingimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/documentloadingimpl.cpp')
-rw-r--r--src/gvcore/documentloadingimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/documentloadingimpl.cpp b/src/gvcore/documentloadingimpl.cpp
index 072229e..02020ad 100644
--- a/src/gvcore/documentloadingimpl.cpp
+++ b/src/gvcore/documentloadingimpl.cpp
@@ -99,7 +99,7 @@ void DocumentLoadingImpl::init() {
emitImageRectUpdated();
} else {
setImage(image);
- TQMemArray< TQRect > rects = TQRegion(d->mLoader->loadedRegion()).tqrects();
+ TQMemArray< TQRect > rects = TQRegion(d->mLoader->loadedRegion()).rects();
for( unsigned int i = 0; i < rects.count(); ++i ) {
emit rectUpdated(rects[i]);
}