Skip to content

Commit

Permalink
Icon for pulldown_button: tm_preferences.xpm
Browse files Browse the repository at this point in the history
  • Loading branch information
沈浪熊猫儿 committed Oct 27, 2022
1 parent 554cbb1 commit bc0051a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugins/Qt/qt_ui_element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bc0051a

Please sign in to comment.