bruns added a comment.

  In D16250#344183 <https://phabricator.kde.org/D16250#344183>, @ivan wrote:
  
  > The parentheses are not necessary when a lambda has no arguments.
  >
  >   [something]() { ::: }
  >   
  >
  > can become:
  >
  >   [something] { ::: }
  >   
  >   
  >
  > KWin uses both of these from what I've seen. Personally, I prefer the 
second.
  >
  > Otherwise, +1 for the change.
  
  
  Qt coding style <https://wiki.qt.io/Coding_Conventions#Lambdas> mandates the 
first

REPOSITORY
  R127 KWayland

REVISION DETAIL
  https://phabricator.kde.org/D16250

To: volkov, #kwin
Cc: bruns, davidedmundson, ivan, kde-frameworks-devel, michaelh, ngraham

Reply via email to