Commit fe221f0e authored by Fabian Vogt's avatar Fabian Vogt
Browse files

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

"static Q_REQUIRED_RESULT foo bar()" -> "Q_REQUIRED_RESULT static foo bar()"
parent eff3c5e5
Pipeline #124795 passed with stage
in 9 minutes and 53 seconds
......@@ -66,7 +66,7 @@ public: // mailserviceimpl
addAttachment(const QString &name, KMime::Headers::contentEncoding cte, const QString &charset, const QByteArray &data, const QByteArray &mimeType) = 0;
public: // kmcommand
virtual Q_REQUIRED_RESULT QString dbusObjectPath() const = 0;
Q_REQUIRED_RESULT virtual QString dbusObjectPath() const = 0;
public: // kmkernel, kmcommands, callback
......@@ -94,7 +94,7 @@ public:
Q_REQUIRED_RESULT bool htmlLoadExternal();
/** Returns the MD5 hash for the list of new features */
static Q_REQUIRED_RESULT QString newFeaturesMD5();
Q_REQUIRED_RESULT static QString newFeaturesMD5();
/** Display a generic HTML splash page instead of a message */
void displaySplashPage(const QString &templateName, const QVariantHash &data);
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