diff --git a/zeal/zealdocsetsregistry.cpp b/zeal/zealdocsetsregistry.cpp index a2dcde055..7cadb1749 100644 --- a/zeal/zealdocsetsregistry.cpp +++ b/zeal/zealdocsetsregistry.cpp @@ -81,11 +81,6 @@ ZealDocsetsRegistry::ZealDocsetsRegistry() : thread->start(); } -bool ZealDocsetsRegistry::hasDocset(const QString &name) -{ - this->docs.contains(name); -} - QList ZealDocsetsRegistry::docsets() { return this->docs.values(); diff --git a/zeal/zealdocsetsregistry.h b/zeal/zealdocsetsregistry.h index 5f04c63a2..7354069fb 100644 --- a/zeal/zealdocsetsregistry.h +++ b/zeal/zealdocsetsregistry.h @@ -119,7 +119,6 @@ class ZealDocsetsRegistry : public QObject // Returns the list of links available in a given webpage. // Scans the list of related links for a given page. This lets you view the methods of a given object. QList getRelatedLinks(QString name, QString path); - bool hasDocset(const QString& name); QString prepareQuery(const QString& rawQuery); void runQuery(const QString& query); void invalidateQueries();