diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-12-11 20:27:43 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-12-11 22:50:09 +0100 |
commit | 1891b51b3b11d6fac807fcffa0e11121be55b362 (patch) | |
tree | 74d098af7a41114ea8d7319af989491843603bc3 /lib/configuration | |
parent | Fix navigation buttons using wrong icons (diff) | |
download | smolbote-1891b51b3b11d6fac807fcffa0e11121be55b362.tar.xz |
Fix crash creating ConfigurationEditorPlugin widget
Diffstat (limited to 'lib/configuration')
-rw-r--r-- | lib/configuration/commandline.h | 2 | ||||
-rw-r--r-- | lib/configuration/configuration.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/configuration/commandline.h b/lib/configuration/commandline.h index 68361cb..3c4dd81 100644 --- a/lib/configuration/commandline.h +++ b/lib/configuration/commandline.h @@ -64,7 +64,7 @@ public: return std::optional<T>(vm[path].as<T>()); } - const boost::program_options::options_description description() const + const boost::program_options::options_description& description() const { return m_description; } diff --git a/lib/configuration/configuration.h b/lib/configuration/configuration.h index cce00bd..4f9eafd 100644 --- a/lib/configuration/configuration.h +++ b/lib/configuration/configuration.h @@ -110,7 +110,7 @@ public: } QHash<QString, QString> section(const std::string &prefix) const; - const boost::program_options::options_description description() const + const boost::program_options::options_description& description() const { return configuration_desc; } |