OmnibarCompleter

class OmnibarCompleter : public QCompleter

Public Functions

explicit OmnibarCompleter(QObject *parent = nullptr)
QStringList splitPath(const QString&) const override

Force the completer to match everything, since we are handling filtering on our own.

QString pathFromIndex(const QModelIndex &index) const override

Do not auto-complete when selecting “Show More” or “Show All” entries.

Keeps the text the same for “Show More” and “Show All”, auto-completes for other entries