Diffusion Baloo 2e3dafe5a892

[Codecs] Remove unneeded const_cast

Authored by bruns on Oct 18 2018, 11:17 PM.

Description

[Codecs] Remove unneeded const_cast

Summary:
QByteArray accepts a const char* in the constructor, no need to cast
the const away.
Also make it obvious we are using the const overload of data() by
replacing it with constData().

Reviewers: Baloo, Frameworks, poboiko, ngraham, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

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

Details

Committed
brunsOct 19 2018, 10:53 AM
Reviewer
dfaure
Differential Revision
D16306: [Codecs] Remove unneeded const_cast
Parents
R293:5b02e42a2c13: Use correct categories name "kf5.kio.kio_timeline" + use new syntax
Branches
Unknown
Tags
Unknown