kwin/kcmkwin/kwindecoration/declarative-plugin
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
..
buttonsmodel.cpp
buttonsmodel.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
CMakeLists.txt
plugin.cpp
plugin.h
previewbridge.cpp
previewbridge.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
previewbutton.cpp Add some const & 2019-10-30 19:23:01 +01:00
previewbutton.h Add some const & 2019-10-30 19:23:01 +01:00
previewclient.cpp
previewclient.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
previewitem.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
previewitem.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
previewsettings.cpp
previewsettings.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
qmldir