[KRunner] Don't add to history items that start with a space
ClosedPublic

Authored by broulik on Apr 6 2018, 1:38 PM.

Details

Summary

This mimics shell prompt behavior.

BUG: 392762
FIXED-IN: 5.13.0

Test Plan

Typed " hello" and it didn't store it
Typed "kwrite" and it stored it in history

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Apr 6 2018, 1:38 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 6 2018, 1:38 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Apr 6 2018, 1:38 PM
davidedmundson accepted this revision.Apr 6 2018, 1:39 PM
This revision is now accepted and ready to land.Apr 6 2018, 1:39 PM
This revision was automatically updated to reflect the committed changes.