Skip to content

Commit

Permalink
Fixed|libcore: Profile title change notification
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 3, 2018
1 parent d5ec468 commit 6ab15f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/sdk/libcore/include/de/math.h
Expand Up @@ -187,7 +187,7 @@ inline Type radianToDegree(Type radian) {

/// General comparison function.
template <typename Type>
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;
Expand Down
1 change: 1 addition & 0 deletions doomsday/sdk/libcore/src/data/profiles.cpp
Expand Up @@ -404,6 +404,7 @@ bool Profiles::AbstractProfile::setName(String const &newName)
if (!owner || owner->rename(*this, newName))
{
d->name = newName;
notifyChange();
}
return true;
}
Expand Down

0 comments on commit 6ab15f1

Please sign in to comment.