summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/okdialog.h')
-rw-r--r--src/gui/okdialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/okdialog.h b/src/gui/okdialog.h
index 72f923b7..fcb327a9 100644
--- a/src/gui/okdialog.h
+++ b/src/gui/okdialog.h
@@ -37,12 +37,12 @@ class OkDialog : public Window, public gcn::ActionListener
{
public:
OkDialog(const std::string &title, const std::string &msg,
- bool modal = true, Window *parent = NULL);
+ bool modal = true, Window *parent = nullptr);
/**
* Called when receiving actions from the widgets.
*/
- void action(const gcn::ActionEvent &event);
+ void action(const gcn::ActionEvent &event) override;
private:
TextBox *mTextBox;