summaryrefslogtreecommitdiffstats
path: root/src/plugins/pluginmanager.cpp
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-09-22 00:11:16 +0200
committererihel <erihel@gmail.com>2012-09-22 00:11:16 +0200
commit15ff1d512b9e103396144bec1cd8004ecf4f7f9c (patch)
treedf57c12ca30d8691c40b7041a35c8deac253ad21 /src/plugins/pluginmanager.cpp
parentf5bc8e12d477a91c7d950675af81e074a94d6036 (diff)
downloadcolobot-15ff1d512b9e103396144bec1cd8004ecf4f7f9c.tar.gz
colobot-15ff1d512b9e103396144bec1cd8004ecf4f7f9c.tar.bz2
colobot-15ff1d512b9e103396144bec1cd8004ecf4f7f9c.zip
* Fixed audio problems
* Added colobot.ini to CApp in Create function * Fixes to plugin manager * Fixed CProfile segfault
Diffstat (limited to 'src/plugins/pluginmanager.cpp')
-rw-r--r--src/plugins/pluginmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/pluginmanager.cpp b/src/plugins/pluginmanager.cpp
index 470ac2f..561e9ab 100644
--- a/src/plugins/pluginmanager.cpp
+++ b/src/plugins/pluginmanager.cpp
@@ -39,9 +39,11 @@ 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");
+ GetLogger()->Info("Path %d, files %d\n", dirs.size(), plugins.size());
for (std::string dir : dirs)
m_folders.insert(dir);