From 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:55:29 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro --- klipper/popupproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klipper/popupproxy.cpp') diff --git a/klipper/popupproxy.cpp b/klipper/popupproxy.cpp index f4264cf56..f3a86379f 100644 --- a/klipper/popupproxy.cpp +++ b/klipper/popupproxy.cpp @@ -108,7 +108,7 @@ void PopupProxy::tryInsertItem( HistoryItem const * const item, Q_ASSERT( id != -1 ); // Be sure that the item was inserted. TQMenuItem* mi = proxy_for_menu->findItem( id ); int fontheight = TQFontMetrics( proxy_for_menu->fontMetrics() ).height(); - int itemheight = proxy_for_menu->style().tqsizeFromContents(TQStyle::CT_PopupMenuItem, + int itemheight = proxy_for_menu->style().sizeFromContents(TQStyle::CT_PopupMenuItem, proxy_for_menu, TQSize( 0, fontheight ), TQStyleOption(mi,10,0) ).height(); -- cgit v1.2.1