From 92aaf04a838d4498e84db9d05fcded8aa7d25ba9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 13 Jul 2017 02:48:42 +0300 Subject: Add missing reference into reading group name. --- src/gui/popups/beingpopup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/popups/beingpopup.cpp') diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index c9e9e8608..251848ed8 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -171,7 +171,7 @@ void BeingPopup::show(const int x, const int y, Being *const b) else { const int groupId = b->getGroupId(); - const std::string groupName = GroupDb::getLongName(groupId); + const std::string &groupName = GroupDb::getLongName(groupId); if (!groupName.empty()) { ptr = mLabels[num]; -- cgit v1.2.3-70-g09d2