From bc0051a366b58032cf8ce178fbcd367ab37f8993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E6=B5=AA=E7=86=8A=E7=8C=AB=E5=84=BF?= Date: Thu, 27 Oct 2022 21:57:40 +0800 Subject: [PATCH] Icon for pulldown_button: tm_preferences.xpm --- src/Plugins/Qt/qt_ui_element.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/Qt/qt_ui_element.cpp b/src/Plugins/Qt/qt_ui_element.cpp index 861fc61d08..ba204df149 100644 --- a/src/Plugins/Qt/qt_ui_element.cpp +++ b/src/Plugins/Qt/qt_ui_element.cpp @@ -846,7 +846,7 @@ qt_ui_element_rep::as_qwidget () { QToolButton* b = new QToolButton(); QTMLazyMenu* lm = new QTMLazyMenu (pw, b, type == pullright_button); - b->setIcon (QIcon (as_pixmap (*xpm_image (image)))); + b->setIcon (qt_load_icon (image)); b->setPopupMode (QToolButton::InstantPopup); b->setAutoRaise (true); b->setMenu (lm);