diff options
Diffstat (limited to 'karbon/karbon_resourceserver.cpp')
-rw-r--r-- | karbon/karbon_resourceserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karbon/karbon_resourceserver.cpp b/karbon/karbon_resourceserver.cpp index 2b31e4d7..c44d48e7 100644 --- a/karbon/karbon_resourceserver.cpp +++ b/karbon/karbon_resourceserver.cpp @@ -510,7 +510,7 @@ VClipartIconItem::VClipartIconItem( const VObject* clipart, double width, double m_clipart->setState( VObject::normal ); m_pixmap.resize( 64, 64 ); - VKoPainter p( TQT_TQPAINTDEVICE(&m_pixmap), 64, 64 ); + VKoPainter p( &m_pixmap, 64, 64 ); TQWMatrix mat( 64., 0, 0, 64., 0, 0 ); VTransformCmd trafo( 0L, mat ); @@ -524,7 +524,7 @@ VClipartIconItem::VClipartIconItem( const VObject* clipart, double width, double p.end(); m_thumbPixmap.resize( 32, 32 ); - VKoPainter p2( TQT_TQPAINTDEVICE(&m_thumbPixmap), 32, 32 ); + VKoPainter p2( &m_thumbPixmap, 32, 32 ); mat.setMatrix( 32., 0, 0, 32., 0, 0 ); trafo.setMatrix( mat ); |