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 <jmverdun3@gmail.com>
This commit is contained in:
vejmarie
2020-09-23 16:04:43 -07:00
committed by wwmayer
parent 81af54e410
commit 339d994302

View File

@@ -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.
*/