Commit 85700d96 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()"
parent cdda877a
Pipeline #124748 passed with stage
in 1 minute and 47 seconds
......@@ -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