From 4b7ca3f26254f6692d1b17eb0df151382bb3b851 Mon Sep 17 00:00:00 2001 From: Zaba999 Date: Tue, 2 Oct 2012 21:44:14 +0200 Subject: Further work on saving profile and directory listing. --- src/plugins/pluginmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/pluginmanager.cpp') diff --git a/src/plugins/pluginmanager.cpp b/src/plugins/pluginmanager.cpp index 561e9ab..39d1d17 100644 --- a/src/plugins/pluginmanager.cpp +++ b/src/plugins/pluginmanager.cpp @@ -40,8 +40,8 @@ CPluginManager::~CPluginManager() void CPluginManager::LoadFromProfile() { GetLogger()->Info("Trying to load from profile...\n"); - std::vector< std::string > dirs = GetProfile()->GetLocalProfileSection("Plugins", "Path"); - std::vector< std::string > plugins = GetProfile()->GetLocalProfileSection("Plugins", "File"); + std::vector< std::string > dirs = GetProfile().GetLocalProfileSection("Plugins", "Path"); + std::vector< std::string > plugins = GetProfile().GetLocalProfileSection("Plugins", "File"); GetLogger()->Info("Path %d, files %d\n", dirs.size(), plugins.size()); for (std::string dir : dirs) -- cgit v1.2.3-1-g7c22