--===============3147878212646972882== Content-Type: multipart/alternative; boundary="===============5517609920967019165==" --===============5517609920967019165== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/123889/#review80789 ----------------------------------------------------------- Ship it! Please only ship this once the other patch is in. kcms/runners/kcm.cpp (line 64) Please use `KConfigGroup::deleteEntry` - Vishesh Handa On May 23, 2015, 10:01 p.m., Kai Uwe Broulik wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/123889/ > ----------------------------------------------------------- > > (Updated May 23, 2015, 10:01 p.m.) > > > Review request for Plasma, KDE Usability and Vishesh Handa. > > > Bugs: 275645? > https://bugs.kde.org/show_bug.cgi?id=275645? > > > Repository: plasma-desktop > > > Description > ------- > > This adds a "Clear history" button to the plasmasearch kcm to clear the history. > > > Diffs > ----- > > kcms/runners/kcm.cpp 10b7683 > > Diff: https://git.reviewboard.kde.org/r/123889/diff/ > > > Testing > ------- > > Clicked button, history gone, popup updated automatically. Could perhaps check whether the history is currently empty and be disabled in that case? Dunno if adding a file watcher to track live changes is worth it though. > > > File Attachments > ---------------- > > Button in KCM > https://git.reviewboard.kde.org/media/uploaded/files/2015/05/23/c86950ed-04ca-4d3d-8697-a13c21b47ad6__krunnerclearhistory.png > > > Thanks, > > Kai Uwe Broulik > > --===============5517609920967019165== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/123889/

Ship it!

Please only ship this once the other patch is in.


kcms/runners/kcm.cpp (Diff revision 1)
SearchConfigModule::SearchConfigModule(QWidget* parent, const QVariantList& args)
64
        generalConfig.writeEntry("history", QStringList());

Please use KConfigGroup::deleteEntry


- Vishesh Handa


On May 23rd, 2015, 10:01 p.m. UTC, Kai Uwe Broulik wrote:

Review request for Plasma, KDE Usability and Vishesh Handa.
By Kai Uwe Broulik.

Updated May 23, 2015, 10:01 p.m.

Bugs: 275645?
Repository: plasma-desktop

Description

This adds a "Clear history" button to the plasmasearch kcm to clear the history.

Testing

Clicked button, history gone, popup updated automatically. Could perhaps check whether the history is currently empty and be disabled in that case? Dunno if adding a file watcher to track live changes is worth it though.

Diffs

  • kcms/runners/kcm.cpp (10b7683)

View Diff

File Attachments

  • Button in KCM
  • --===============5517609920967019165==-- --===============3147878212646972882== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUGxhc21hLWRl dmVsIG1haWxpbmcgbGlzdApQbGFzbWEtZGV2ZWxAa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3BsYXNtYS1kZXZlbAo= --===============3147878212646972882==--