Remove ref from returned QString
ClosedPublic

Authored by gladhorn on Jul 16 2018, 7:51 AM.

Details

Summary

Let's leave it up to the compiler to eliminate the ref.
Suggested by zzag.

Diff Detail

Repository
R104 KScreen
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 901
Build 914: arc lint + arc unit
gladhorn created this revision.Jul 16 2018, 7:51 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 16 2018, 7:51 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
gladhorn requested review of this revision.Jul 16 2018, 7:51 AM
zzag added a subscriber: zzag.Jul 16 2018, 7:52 AM
zzag added inline comments.
kded/osd.cpp
58

Please keep const.

gladhorn updated this revision to Diff 37922.Jul 17 2018, 5:30 AM

Re-added the const

davidedmundson accepted this revision.Jul 17 2018, 8:48 AM
This revision is now accepted and ready to land.Jul 17 2018, 8:48 AM
This revision was automatically updated to reflect the committed changes.