From 339d9943022fb4be5255fbe207debd970af69ca5 Mon Sep 17 00:00:00 2001 From: vejmarie Date: Wed, 23 Sep 2020 16:04:43 -0700 Subject: [PATCH] Revert a patch which shouldn't had been into this commit as it is specific to Qt 5.15 and need a #define Signed-off-by: vejmarie --- src/Gui/QSint/actionpanel/actionbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/QSint/actionpanel/actionbox.h b/src/Gui/QSint/actionpanel/actionbox.h index bd94ee0780..0b599349dc 100644 --- a/src/Gui/QSint/actionpanel/actionbox.h +++ b/src/Gui/QSint/actionpanel/actionbox.h @@ -182,7 +182,7 @@ public: void setIcon(const QPixmap & icon); /** Returns icon of the ActionBox. */ - inline QPixmap icon() { return iconLabel->pixmap(Qt::ReturnByValue); } + inline const QPixmap* icon() const { return iconLabel->pixmap(); } /** Returns header item of the ActionBox. */