Move continuous to view mode
This moves the Continuous option from the View menu to the View Mode submenu. This makes the View Mode menu (a KActionMenu) more useful in the main toolbar. Additionally, “Continuous” is explained by the context “View Mode”.
The primary intention was to give this View Mode a similar usage pattern like the Change Colors menu (D21195), if both are added to the toolbar.
This is taken from Phabricator D21196. In the meantime QStringLiteral was added to the action collection calls, I added them also in this patch. Another modification is not necessary here, because I use a lambda function instead of the function-like macro.
Screenshot: