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/windows/statuswindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index c40ba819c..6553c8dc5 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -261,7 +261,7 @@ void StatusWindow::addTabBasic(const std::string &name) void StatusWindow::updateLevelLabel() { const int groupId = localPlayer->getGroupId(); - const std::string name = GroupDb::getName(groupId); + const std::string &name = GroupDb::getName(groupId); if (localPlayer != nullptr && !name.empty()) { -- cgit v1.2.3-70-g09d2