commit f757e1b14fda2aa236129456c2e0ab5eaf1147f2
Author: Christian Ehringfeld <c.ehringfeld@t-online.de>
Date:   Thu Mar 24 01:38:45 2016 +0100

    fix

diff --git a/src/entitymanager.h b/src/entitymanager.h
index 8fb9e7b..c69d879 100644
--- a/src/entitymanager.h
+++ b/src/entitymanager.h
@@ -207,7 +207,7 @@ class EntityManager : public QObject {
     QSharedPointer<T> findEntityByAttributes(
         const QHash<QString, QVariant>
         &attributes, const bool joinBaseClasses = false,
-        const bool resolveRelations = true, const bool refresh) {
+        const bool resolveRelations = true, const bool refresh=false) {
         auto list = this->findAllEntitiesByAttributes<T>(attributes, 1, 0,
                     joinBaseClasses, resolveRelations, refresh);
         if (list.isEmpty()) {
