qt5base-lts/tests/auto/widgets/kernel
Marc Mutz 923e08132c tst_QActionGroup: avoid Java-style iterators
They are going to be deprecated soon.

Use a lambda to mimic the adjacent addActions() calls.

Also, I didn't want to add a scope or extend the lifetime
of the return value of actions() until the end of the
function, and

  for (QAction *action : actGroup.action())

would detach. I'd've made it a helper function, but it's
used only once, so... a lambda.

Change-Id: I2b3aae463036fd61a9cca7b4ef991b8752869bf3
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2019-05-22 05:15:39 +00:00
..
qaction Send ShortcutOverride event when receiving a non-spontaneous key press 2018-04-20 10:18:49 +00:00
qactiongroup tst_QActionGroup: avoid Java-style iterators 2019-05-22 05:15:39 +00:00
qapplication Deprecate conversion functions between QList and QSet 2019-05-07 14:15:44 +00:00
qboxlayout Fix bug with QLayout::replaceWidget(a, a) 2019-05-09 12:01:38 +00:00
qdesktopwidget Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qformlayout Replace Q_DECL_NOTHROW with noexcept the remaining places 2019-04-09 14:48:42 +00:00
qgesturerecognizer tests: un-blacklist tst_QGestureRecognizer::panGesture on xcb 2018-06-25 13:41:40 +00:00
qgridlayout tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qlayout winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
qshortcut tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qsizepolicy Fix tst_QSizePolicy::constExpr() to compile with MSVC 15.8.1 2018-08-30 06:23:51 +00:00
qstackedlayout tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qtooltip QToolTip: Don't crash if a tool tip is shown outside screen geometry 2018-10-15 07:44:04 +00:00
qwidget Migrate Windows system libs to external dependencies 2019-05-08 08:30:02 +00:00
qwidget_window Enable tst_QWidget_window::tst_resize_count on Ubuntu 18.04 2019-05-15 17:20:47 +00:00
qwidgetaction testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qwidgetmetatype Finish qmetatype migration to type switcher 2018-10-03 14:48:55 +00:00
qwidgetsvariant Updated license headers 2016-01-21 18:55:18 +00:00
qwindowcontainer winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
kernel.pro Cleanup widgets/kernel.pro after modularization 2019-03-27 09:29:20 +00:00