summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/properties.h b/src/properties.h
index e203c75c..d2e4d947 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -81,7 +81,7 @@ class Properties
* @return the value of the given property or the given default when it
* doesn't exist.
*/
- float getBoolProperty(const std::string &name, bool def = false) const
+ bool getBoolProperty(const std::string &name, bool def = false) const
{
PropertyMap::const_iterator i = mProperties.find(name);
bool ret = def;