summaryrefslogtreecommitdiff
path: root/src/gui/textdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-27 18:05:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-27 18:05:47 +0300
commit053891ca29f6cbbbf690d16fa55e4414b99d1d2c (patch)
tree3fe5b2c127e3fe1c5a87930960c4504326cdbc26 /src/gui/textdialog.cpp
parent9cc52ed1177302c5f43b1eac165a23548f256499 (diff)
downloadmanaverse-053891ca29f6cbbbf690d16fa55e4414b99d1d2c.tar.gz
manaverse-053891ca29f6cbbbf690d16fa55e4414b99d1d2c.tar.bz2
manaverse-053891ca29f6cbbbf690d16fa55e4414b99d1d2c.tar.xz
manaverse-053891ca29f6cbbbf690d16fa55e4414b99d1d2c.zip
improve textdialog.
Diffstat (limited to 'src/gui/textdialog.cpp')
-rw-r--r--src/gui/textdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/textdialog.cpp b/src/gui/textdialog.cpp
index 4df04a2ed..773949e6e 100644
--- a/src/gui/textdialog.cpp
+++ b/src/gui/textdialog.cpp
@@ -116,7 +116,7 @@ const std::string &TextDialog::getText() const
return mPasswordField->getText();
}
-void TextDialog::setText(std::string text)
+void TextDialog::setText(const std::string &text)
{
if (mTextField)
mTextField->setText(text);