From 053891ca29f6cbbbf690d16fa55e4414b99d1d2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 27 May 2013 18:05:47 +0300 Subject: improve textdialog. --- src/gui/textdialog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/textdialog.h') diff --git a/src/gui/textdialog.h b/src/gui/textdialog.h index d91cc2129..fddf3947e 100644 --- a/src/gui/textdialog.h +++ b/src/gui/textdialog.h @@ -61,12 +61,12 @@ public: */ const std::string &getText() const A_WARN_UNUSED; - void setText(std::string text); + void setText(const std::string &text); static bool isActive() A_WARN_UNUSED { return instances; } - void close(); + void close() override; private: static int instances; -- cgit v1.2.3-70-g09d2