From b0d6ef00eebb7dcd03b051db63840c04243a784d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 03:34:07 +0300 Subject: Add missing consts or string references. --- src/gui/windows/helpwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp index 3a2c542ad..85a14594d 100644 --- a/src/gui/windows/helpwindow.cpp +++ b/src/gui/windows/helpwindow.cpp @@ -110,7 +110,7 @@ void HelpWindow::handleLink(const std::string &link, { if (!strStartWith(link, "http://") && !strStartWith(link, "https://")) { - std::string helpFile = link; + const std::string &helpFile = link; loadHelp(helpFile); } else -- cgit v1.2.3-60-g2f50