}
}
+QSize DolphinFacetsWidget::minimumSizeHint() const
+{
+ return QSize(0, m_typeSelector->minimumHeight());
+}
+
void DolphinFacetsWidget::resetSearchTerms()
{
m_typeSelector->setCurrentIndex(0);
const bool onlyOneTag = allTags.count() == 1;
- for (const QString &tagName : qAsConst(allTags)) {
+ for (const QString &tagName : std::as_const(allTags)) {
QAction *action = tagsMenu->addAction(QIcon::fromTheme(QStringLiteral("tag")), tagName);
action->setCheckable(true);
action->setChecked(m_searchTags.contains(tagName));
updateTagsSelector();
}
+
+#include "moc_dolphinfacetswidget.cpp"