summaryrefslogtreecommitdiff
path: root/src/gui/windows/helpwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r--src/gui/windows/helpwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index cd6e37941..1cfb30e2b 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -111,7 +111,8 @@ void HelpWindow::handleLink(const std::string &link,
{
if (!strStartWith(link, "http://") && !strStartWith(link, "https://"))
{
- const std::string &helpFile = link;
+ // need use separate variable
+ const std::string helpFile = link;
loadHelp(helpFile);
}
else