summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/didyouknowwindow.cpp2
-rw-r--r--src/gui/windows/didyouknowwindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/didyouknowwindow.cpp b/src/gui/windows/didyouknowwindow.cpp
index adaf6fe2f..f6bf36ac6 100644
--- a/src/gui/windows/didyouknowwindow.cpp
+++ b/src/gui/windows/didyouknowwindow.cpp
@@ -184,5 +184,5 @@ void DidYouKnowWindow::setVisible(Visible visible)
Window::setVisible(visible);
if (visible == Visible_true || isWindowVisible())
- loadData();
+ loadData(0);
}
diff --git a/src/gui/windows/didyouknowwindow.h b/src/gui/windows/didyouknowwindow.h
index 6d5fdf1ae..334799b61 100644
--- a/src/gui/windows/didyouknowwindow.h
+++ b/src/gui/windows/didyouknowwindow.h
@@ -56,7 +56,7 @@ class DidYouKnowWindow final : public Window,
*/
void action(const ActionEvent &event) override final;
- void loadData(int num = 0);
+ void loadData(int num);
void setVisible(Visible visible) override final;