diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-02-15 14:53:56 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-02-29 15:41:55 +0200 |
commit | 26e2926d5424f0c248892b4755c699541d46e856 (patch) | |
tree | 16ed0e75a31c4779d4d140b07262e89bca6971a0 /src/browser.cpp | |
parent | Added example firefox/palemoon bookmarks to test (diff) | |
download | smolbote-26e2926d5424f0c248892b4755c699541d46e856.tar.xz |
Remove ProfileInterface
Plugins should define their own specific interfaces rather than
subclassing from ProfileInterface:
- add Filter for QWebEngineUrlRequestInterceptor filters
- add FilterPlugin for Filter loading
Remove deprecated Browser::profileList()
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index 3b47048..02d5bc9 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -89,15 +89,6 @@ void Browser::about() dlg->exec(); } -const QList<QPair<QString, Profile *>> Browser::profileList() const -{ - QList<QPair<QString, Profile *>> profiles; - for(const QString &id : m_profileManager->idList()) { - profiles.append(qMakePair(id, m_profileManager->profile(id))); - } - return profiles; -} - void Browser::loadProfiles(const QStringList &profilePaths) { Configuration conf; |