summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorZaba999 <qrwfw5rp>2012-10-02 21:44:14 +0200
committerZaba999 <qrwfw5rp>2012-10-02 21:44:14 +0200
commit4b7ca3f26254f6692d1b17eb0df151382bb3b851 (patch)
tree2515a2cbb2672b16d0c0a9d0f1af7a3aa91c06db /src/plugins
parentac1472621a101205babd33020e5530fa32580eff (diff)
downloadcolobot-4b7ca3f26254f6692d1b17eb0df151382bb3b851.tar.gz
colobot-4b7ca3f26254f6692d1b17eb0df151382bb3b851.tar.bz2
colobot-4b7ca3f26254f6692d1b17eb0df151382bb3b851.zip
Further work on saving profile and directory listing.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/pluginmanager.cpp4
1 files changed, 2 insertions, 2 deletions
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)