Commit 5c37312c 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 c5ba92f1
Pipeline #124740 passed with stage
in 2 minutes and 34 seconds
......@@ -52,7 +52,7 @@ public:
*/
virtual void setReadOnly(bool readOnly) = 0;
virtual Q_REQUIRED_RESULT bool hasNoSavedData() const
Q_REQUIRED_RESULT virtual bool hasNoSavedData() const
{
return false;
}
......
Markdown is supported
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