aboutsummaryrefslogtreecommitdiff
path: root/src/browser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser.cpp')
-rw-r--r--src/browser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/browser.cpp b/src/browser.cpp
index 0af050f..1e2ad25 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -73,6 +73,11 @@ Configuration *Browser::getConfiguration() const
return m_config.get();
}
+const ProfileManager *Browser::getProfileManager() const
+{
+ return const_cast<ProfileManager *>(ProfileManager::instance());
+}
+
void Browser::registerPlugin(const Plugin &plugin)
{
Q_ASSERT(m_config);