Fix API for Qt 6

Change-Id: Ic07b5cf09ed410a27ca95f106747f98de4d86d68
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Lars Knoll 2019-04-30 14:57:31 +02:00
parent 1e4042d03f
commit 9c04e7c61e

View File

@ -555,7 +555,7 @@ public:
void addAction(QAction *action); void addAction(QAction *action);
#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) #if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
void addActions(const QList<QAction*> &actions); void addActions(const QList<QAction*> &actions);
void insertActions(const QAction *before, const QList<QAction*> &actions); void insertActions(QAction *before, const QList<QAction*> &actions);
#else #else
void addActions(QList<QAction*> actions); void addActions(QList<QAction*> actions);
void insertActions(QAction *before, QList<QAction*> actions); void insertActions(QAction *before, QList<QAction*> actions);