D19913: [plasma-framework] make it compiles without foreach
    Aleix Pol Gonzalez 
    noreply at phabricator.kde.org
       
    Fri Apr 17 00:06:33 BST 2020
    
    
  
apol accepted this revision.
apol added inline comments.
INLINE COMMENTS
> dropmenu.cpp:80
>      } else if (m_menu) {
> -        foreach (QAction *action, m_dropActions) {
> +        for (QAction *action : qAsConst(m_dropActions)) {
>              m_menu->addAction(action);
`m_menu->addActions(m_dropActions);`
REPOSITORY
  R242 Plasma Framework (Library)
BRANCH
  compile_without_foreach (branched from master)
REVISION DETAIL
  https://phabricator.kde.org/D19913
To: mlaurent, dfaure, apol
Cc: ahmadsamir, nicolasfella, broulik, apol, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200416/09572456/attachment-0001.html>
    
    
More information about the Kde-frameworks-devel
mailing list