Review Request 126127: [powerdevil] add missing initializations, minor string optimizations

Nick Shaforostoff shafff at ukr.net
Sat Nov 21 14:55:48 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126127/
-----------------------------------------------------------

Review request for Plasma, Kai Uwe Broulik and Xuetian Weng.


Repository: powerdevil


Description
-------

This patch fixes member variable initialization related issues found by Coverity static analyzer.

Also there are few minor qstring-related optimizations, plus switching from qlist to qvector for storing ints (consumes less memory, doesn't affect speed)


Diffs
-----

  daemon/backends/upower/powerdevilupowerbackend.cpp ff21f4e 
  daemon/backends/upower/xrandrxcbhelper.cpp 9a8f49e 
  daemon/kdedpowerdevil.cpp 6e92578 
  daemon/kwinkscreenhelpereffect.h 4d0a163 
  daemon/powerdevilaction.cpp 187f3fb 
  daemon/powerdevilbackendinterface.cpp 86d7f7e 
  daemon/powerdevilpolicyagent.cpp 6b46c9c 

Diff: https://git.reviewboard.kde.org/r/126127/diff/


Testing
-------

compiles fine


Thanks,

Nick Shaforostoff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151121/12541f2b/attachment.html>


More information about the Plasma-devel mailing list