Authored by apol on Mar 30 2020, 3:24 PM.

Description

Fix warnings

Summary:
Remove unused variables and members.
We were often storing the q of classes without ever needing them. I'd
just do it when it's useful. We do it in the private class so it can
always be added, removes boilerplate code.

Don't use std::move when returning temporary QImage. The compiler is
smart enough to know to do it but produces the warning "moving a
temporary object prevents copy elision".

Remove unused lambda captured variables.

Test Plan: Getting much cleaner build logs

Reviewers: Frameworks, KWin, zzag

Reviewed By: KWin, zzag

Subscribers: zzag, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D28442

Details

Committed
apolMar 30 2020, 5:13 PM
Reviewer
KWin
Differential Revision
D28442: Fix warnings
Parents
R127:665dc779c668: Remove cppcheck from kwayland
Branches
Unknown
Tags
Unknown