Use s.leftRef(s.indexOf(c)) instead of s.split(c).at(0)

Authored by kossebau on Sep 1 2019, 1:33 PM.

Description

Use s.leftRef(s.indexOf(c)) instead of s.split(c).at(0)

Summary:
GIT_SILENT

Reviewers: Kate, cullmann

Reviewed By: Kate, cullmann

Subscribers: cullmann, kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

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

Details

Committed
kossebauSep 1 2019, 5:49 PM
Reviewer
Kate
Differential Revision
D23646: Use s.leftRef(s.indexOf(c)) instead of s.split(c).at(0)
Parents
R39:d77ce06e8e9d: Use more QString::midRef where possible
Branches
Unknown
Tags
Unknown