summaryrefslogtreecommitdiffstats
path: root/klipper/popupproxy.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:52:49 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:33:38 +0900
commit7ff24388e9d913479dd269cf29ba9aae5f6bde48 (patch)
treea5eecb895074ce87f4225b37f4e4b930f8cf046d /klipper/popupproxy.cpp
parent88a3a73f276d3e2f49ee25f57fb8e8660ebe2228 (diff)
downloadtdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.tar.gz
tdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a8f627e6d45af521718176586daf0253b4daa597)
Diffstat (limited to 'klipper/popupproxy.cpp')
-rw-r--r--klipper/popupproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/klipper/popupproxy.cpp b/klipper/popupproxy.cpp
index 71adba63d..f4264cf56 100644
--- a/klipper/popupproxy.cpp
+++ b/klipper/popupproxy.cpp
@@ -98,7 +98,7 @@ void PopupProxy::tryInsertItem( HistoryItem const * const item,
} else {
const TQSize max_size( m_menu_width,m_menu_height/4 );
if ( image.height() > max_size.height() || image.width() > max_size.width() ) {
- image.convertFromImage( TQImage(image.convertToImage()).smoothScale( max_size, TQ_ScaleMin ) );
+ image.convertFromImage( TQImage(image.convertToImage()).smoothScale( max_size, TQImage::ScaleMin ) );
}
id = proxy_for_menu->insertItem( image, -1, index );
}