kwin/effects/flipswitch
Albert Astals Cid e144748c7a Add some const &
Summary:
Won't make things go much faster since everything that was
being passed by value is refcounted but still const & is a bit faster
than refcounting

For shared pointers instead of adding const & we move them into the
destination variable saving some cpu usage but at the same time making
clear the pointer is being stored by not being const &

Reviewers: zzag

Reviewed By: zzag

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25022
2019-10-30 19:23:01 +01:00
..
CMakeLists.txt Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json() 2015-12-09 23:42:45 +00:00
flipswitch.cpp Add some const & 2019-10-30 19:23:01 +01:00
flipswitch.h Add some const & 2019-10-30 19:23:01 +01:00
flipswitch.kcfg [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
flipswitch_config.cpp [effects] Use arg="true" in the kcfg files 2017-04-15 10:03:34 +02:00
flipswitch_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2019-10-23 05:33:32 +02:00
flipswitch_config.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
flipswitch_config.ui KIntSpinBox -> QSpinBox in kwin/effects configs 2013-09-09 07:38:30 +02:00
flipswitchconfig.kcfgc Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00