mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
[dolphin/search] Add missing parsing for type 'Folder'
Summary: Add missing parsing for type 'Folder' See D24422 Test Plan: dolphin --new-window 'baloosearch:?json=%7B%22type%22:[%22Folder%22]%7D' - `Folders` is selected in search options Reviewers: #dolphin, elvisangelaccio, meven, ngraham Reviewed By: #dolphin, ngraham Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D24448
This commit is contained in:
parent
fcf2d98447
commit
304ab14e08
|
@ -211,7 +211,9 @@ void DolphinFacetsWidget::setRatingTerm(const QString& term)
|
|||
|
||||
void DolphinFacetsWidget::setFacetType(const QString& type)
|
||||
{
|
||||
if (type == QLatin1String("Document")) {
|
||||
if (type == QLatin1String("Folder")) {
|
||||
m_folders->setChecked(true);
|
||||
} else if (type == QLatin1String("Document")) {
|
||||
m_documents->setChecked(true);
|
||||
} else if (type == QLatin1String("Image")) {
|
||||
m_images->setChecked(true);
|
||||
|
|
Loading…
Reference in a new issue