[gnote] Fix disabling application plugins



commit 42c404b2a63ed9c58f27d393f8de95f3e8902079
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Jun 5 13:36:35 2016 +0300

    Fix disabling application plugins

 src/addinmanager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addinmanager.cpp b/src/addinmanager.cpp
index 2ec5f9b..da4ad45 100644
--- a/src/addinmanager.cpp
+++ b/src/addinmanager.cpp
@@ -293,7 +293,7 @@ namespace {
     for(sharp::ModuleMap::const_iterator iter = modules.begin();
         iter != modules.end(); ++iter) {
 
-      const std::string & mod_id = get_info_for_module(iter->first).id();
+      std::string mod_id = get_info_for_module(iter->first).id();
       sharp::DynamicModule* dmod = iter->second;
       if(!dmod) {
         continue;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]