Commit 0c2240f9 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 e096a853
Pipeline #124805 passed with stage
in 4 minutes and 50 seconds
......@@ -93,7 +93,7 @@ private:
void updateButtons();
using ReminderList = QList<ReminderTreeItem *>;
static Q_REQUIRED_RESULT QDateTime triggerDateForIncidence(const KCalendarCore::Incidence::Ptr &inc, const QDateTime &reminderAt, QString &displayStr);
Q_REQUIRED_RESULT static QDateTime triggerDateForIncidence(const KCalendarCore::Incidence::Ptr &inc, const QDateTime &reminderAt, QString &displayStr);
// Removes each Incidence-X group that has one of the specified uids
void removeFromConfig(const QList<Akonadi::Item::Id> &);
......@@ -111,7 +111,7 @@ private:
Q_REQUIRED_RESULT ReminderList selectedItems() const;
void toggleDetails(QTreeWidgetItem *item);
void showDetails(QTreeWidgetItem *item);
static Q_REQUIRED_RESULT bool grabFocus();
Q_REQUIRED_RESULT static bool grabFocus();
Akonadi::ETMCalendar::Ptr mCalendar;
QTreeWidget *mIncidenceTree = nullptr;
......
......@@ -68,7 +68,7 @@ public:
/** returns the first and last date of the 6*7 matrix that displays @p month
* @param month The month we want to get matrix boundaries
*/
static Q_REQUIRED_RESULT QPair<QDate, QDate> matrixLimits(QDate month);
Q_REQUIRED_RESULT static QPair<QDate, QDate> matrixLimits(QDate month);
/**
Associate a calendar with this day matrix. If there is a calendar, the
......
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