Commit 89a789f6 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix build with GCC 12 (standard attributes in middle of decl-specifiers)

"virtual Q_REQUIRED_RESULT foo bar()" -> "Q_REQUIRED_RESULT virtual foo bar()"

(cherry picked from commit 85700d96)
parent 8589ed4d
Pipeline #132480 skipped
......@@ -223,12 +223,12 @@ public:
/**
Returns the background color of the item.
*/
virtual Q_REQUIRED_RESULT QColor bgColor() const = 0;
Q_REQUIRED_RESULT virtual QColor bgColor() const = 0;
/**
Returns the frame color of the item.
*/
virtual Q_REQUIRED_RESULT QColor frameColor() const = 0;
Q_REQUIRED_RESULT virtual QColor frameColor() const = 0;
/**
Returns a list of pixmaps to draw next to the items.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment