summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 03:59:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 03:59:27 +0300
commitf9dece33c858e7e8eee2b65c1ca0f920677fdce3 (patch)
tree6757b2f4efc848c32e61865e7141b988a134ef4b /src
parentea8841881bf4ba5c7348f0389e984c50eb8e1cb9 (diff)
downloadplus-f9dece33c858e7e8eee2b65c1ca0f920677fdce3.tar.gz
plus-f9dece33c858e7e8eee2b65c1ca0f920677fdce3.tar.bz2
plus-f9dece33c858e7e8eee2b65c1ca0f920677fdce3.tar.xz
plus-f9dece33c858e7e8eee2b65c1ca0f920677fdce3.zip
Remove default parameter from dudyouknowwindow.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
-rw-r--r--src/gui/windows/didyouknowwindow.cpp2
-rw-r--r--src/gui/windows/didyouknowwindow.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 99f33b7f2..f625cc9e2 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -250,7 +250,7 @@ static void createGuiWindows()
if (config.getBoolValue("showDidYouKnow"))
{
didYouKnowWindow->setVisible(Visible_true);
- didYouKnowWindow->loadData();
+ didYouKnowWindow->loadData(0);
}
CREATEWIDGETV(emoteShortcutWindow, ShortcutWindow,
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;