diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:55:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-25 15:17:16 +0900 |
commit | 139b166e1af1efe1cbc0ee2cce6d5534ad042d0e (patch) | |
tree | 85788279f2894f7133ffaac44c5f69eabaec3c3e /klipper | |
parent | c19f68bd91790b23163fe787464984018a42a2dc (diff) | |
download | tdebase-139b166e1af1efe1cbc0ee2cce6d5534ad042d0e.tar.gz tdebase-139b166e1af1efe1cbc0ee2cce6d5534ad042d0e.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7)
Diffstat (limited to 'klipper')
-rw-r--r-- | klipper/popupproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |