Skip to content

Commit

Permalink
Revert a patch which shouldn't had been into this commit as it
Browse files Browse the repository at this point in the history
is specific to Qt 5.15 and need a #define

Signed-off-by: vejmarie <jmverdun3@gmail.com>
  • Loading branch information
vejmarie authored and wwmayer committed Sep 24, 2020
1 parent 81af54e commit 339d994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/QSint/actionpanel/actionbox.h
Expand Up @@ -182,7 +182,7 @@ class QSINT_EXPORT ActionBox : public QFrame
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.
*/
Expand Down

0 comments on commit 339d994

Please sign in to comment.