diff options
Diffstat (limited to 'src/note.cpp')
-rw-r--r-- | src/note.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/note.cpp b/src/note.cpp index 09eb274..2d2e448 100644 --- a/src/note.cpp +++ b/src/note.cpp @@ -2839,7 +2839,7 @@ TQString Note::toHtml(const TQString &imageName) image = pixmap()->convertToImage(); else image = movie()->framePixmap().convertToImage(); - image = image.smoothScale(200, 150, TQ_ScaleMin); + image = image.smoothScale(200, 150, TQImage::ScaleMin); TQPixmap pixmap = TQPixmap(image); TQMimeSourceFactory::defaultFactory()->setPixmap(imageName, pixmap); return "<img src=" + imageName + ">"; /// @@ -2852,7 +2852,7 @@ TQString Note::toHtml(const TQString &imageName) image = pixmap()->convertToImage(); else image = movie()->framePixmap().convertToImage(); - image = image.smoothScale(200, 150, TQ_ScaleMin); + image = image.smoothScale(200, 150, TQImage::ScaleMin); TQPixmap pixmap = TQPixmap(image); TQMimeSourceFactory::defaultFactory()->setPixmap(imageName, pixmap); return "<img src=" + imageName + ">"; /// |