diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:50:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:50:12 +0900 |
commit | 04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch) | |
tree | 5880f13b288d79e13e1a10f99c54b27bbe1fc942 /chalk/ui/kis_previewwidget.cpp | |
parent | d1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff) | |
download | koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/ui/kis_previewwidget.cpp')
-rw-r--r-- | chalk/ui/kis_previewwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_previewwidget.cpp b/chalk/ui/kis_previewwidget.cpp index f60755a1..a95c4920 100644 --- a/chalk/ui/kis_previewwidget.cpp +++ b/chalk/ui/kis_previewwidget.cpp @@ -169,7 +169,7 @@ void KisPreviewWidget::updateZoom() int sh = int(ceil(m_zoom * h / m_filterZoom)); m_dirtyPreview = false; m_scaledPreview = m_previewDevice->convertToTQImage(m_profile, 0, 0, w, h); - m_scaledPreview = m_scaledPreview.scale(sw,sh, TQ_ScaleMax); // Use scale instead of smoothScale for speed up + m_scaledPreview = m_scaledPreview.scale(sw,sh, TQImage::ScaleMax); // Use scale instead of smoothScale for speed up } m_preview->setImage(m_scaledPreview); } else @@ -182,7 +182,7 @@ void KisPreviewWidget::updateZoom() int sh = int(ceil(m_zoom * h)); m_dirtyOriginal = false; m_scaledOriginal = m_origDevice->convertToTQImage(m_profile, 0, 0, w, h); - m_scaledOriginal = m_scaledOriginal.scale(sw,sh, TQ_ScaleMax); // Use scale instead of smoothScale for speed up + m_scaledOriginal = m_scaledOriginal.scale(sw,sh, TQImage::ScaleMax); // Use scale instead of smoothScale for speed up } m_preview->setImage(m_scaledOriginal); } |