summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/helpwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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