diff --git a/doomsday/sdk/libcore/include/de/math.h b/doomsday/sdk/libcore/include/de/math.h index a83e1eeefc..75b868a561 100644 --- a/doomsday/sdk/libcore/include/de/math.h +++ b/doomsday/sdk/libcore/include/de/math.h @@ -187,7 +187,7 @@ inline Type radianToDegree(Type radian) { /// General comparison function. template -inline dint cmp(const Type &a, const Type &b) { +inline dint cmp(Type a, Type b) { if (a < b) return -1; if (a > b) return 1; return 0; diff --git a/doomsday/sdk/libcore/src/data/profiles.cpp b/doomsday/sdk/libcore/src/data/profiles.cpp index 150121f18b..b13b645088 100644 --- a/doomsday/sdk/libcore/src/data/profiles.cpp +++ b/doomsday/sdk/libcore/src/data/profiles.cpp @@ -404,6 +404,7 @@ bool Profiles::AbstractProfile::setName(String const &newName) if (!owner || owner->rename(*this, newName)) { d->name = newName; + notifyChange(); } return true; }