summaryrefslogtreecommitdiffstats
path: root/kview/kviewcanvas/kimagecanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kviewcanvas/kimagecanvas.cpp')
-rw-r--r--kview/kviewcanvas/kimagecanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimagecanvas.cpp b/kview/kviewcanvas/kimagecanvas.cpp
index a2e6c5b7..67d8fd9a 100644
--- a/kview/kviewcanvas/kimagecanvas.cpp
+++ b/kview/kviewcanvas/kimagecanvas.cpp
@@ -543,7 +543,7 @@ void KImageCanvas::slotUpdateImage()
if( m_bSizeChanged || m_bNewImage )
{
- TQSize sh = m_client->tqsizeHint();
+ TQSize sh = m_client->sizeHint();
if( ! sh.isValid() )
sh = TQSize( 0, 0 );
m_client->resize( sh );