On Sun, Jun 13, 2021 at 8:29 PM Konstantin Shegunov <kshegu...@gmail.com> wrote: > > On Sun, Jun 13, 2021 at 7:22 PM Kevin André <hyperquan...@gmail.com> wrote: >> >> How can I avoid the warning in this case? > > return QVector<..>(_actions.keyBegin(), _actions.keyEnd()); > > Should work, I believe.
This would have been my preferred solution. But that constructor was introduced in Qt 5.14, and I am still using Qt 5.12. Thanks, Kevin _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest