Commit 766f72c2 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()"

(cherry picked from commit fe221f0e)
parent ed9eb1b7
Pipeline #124796 passed with stage
in 8 minutes and 8 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