mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 03:26:05 -04:00
Remove ft filtering in library
This commit is contained in:
parent
969746913f
commit
f40899f128
@ -109,7 +109,6 @@ QStringList ContentManager::getBookInfos(QString id, const QStringList &keys)
|
||||
if (displayTagMap["_videos"]) displayTagList << tr("Videos");
|
||||
if (displayTagMap["_pictures"]) displayTagList << tr("Pictures");
|
||||
if (!displayTagMap["_details"]) displayTagList << tr("Introduction only");
|
||||
if (displayTagMap["_ftindex"]) displayTagList << tr("Fulltext index");
|
||||
QString s = displayTagList.join(", ");
|
||||
values.append(s);
|
||||
}
|
||||
|
@ -58,11 +58,9 @@ ContentManagerSide::ContentManagerSide(QWidget *parent) :
|
||||
ContentTypeFilter* videosFilter = new ContentTypeFilter("pictures", this);
|
||||
ContentTypeFilter* picturesFilter = new ContentTypeFilter("videos", this);
|
||||
ContentTypeFilter* detailsFilter = new ContentTypeFilter("details", this);
|
||||
ContentTypeFilter* ftindexFilter = new ContentTypeFilter("ftindex", this);
|
||||
m_contentTypeFilters.push_back(videosFilter);
|
||||
m_contentTypeFilters.push_back(picturesFilter);
|
||||
m_contentTypeFilters.push_back(detailsFilter);
|
||||
m_contentTypeFilters.push_back(ftindexFilter);
|
||||
|
||||
auto layout = static_cast<QVBoxLayout*>(mp_ui->contentTypeSelector->layout());
|
||||
for (auto &contentTypeFilter : m_contentTypeFilters) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user