]> cloud.milkyroute.net Git - dolphin.git/commit
Clean-up DolphinFacetsWidget
authorIsmael Asensio <isma.af@gmail.com>
Sun, 15 Dec 2019 22:15:46 +0000 (23:15 +0100)
committerIsmael Asensio <isma.af@gmail.com>
Sun, 29 Dec 2019 20:05:45 +0000 (21:05 +0100)
commitc331d7068574dd468101ed8ade3ce51a2a8560c0
tree2dced72da780bfcc5154430dcaa4e93e4e6a8d00
parent732697d0d6fcc3a834a85865dcd88870e127711b
Clean-up DolphinFacetsWidget

Summary:
Small refactor patch to clean-up some logic on setter and getter:
- Search terms are previously splitted and set separately, so no need
  for extra splitting and `foreach` loop
- Return search terms on a `QStringList` rather than join first

Depends on: D26029

Test Plan: No behavior changes

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26150
src/search/dolphinfacetswidget.cpp
src/search/dolphinfacetswidget.h
src/search/dolphinsearchbox.cpp