summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index 4adb718c4..4bbfed638 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -398,7 +398,7 @@ void TradeWindow::close()
void TradeWindow::clear()
{
mAutoAddItem = nullptr;
- mAutoAddToNick = "";
+ mAutoAddToNick.clear();
mAutoMoney = 0;
mAutoAddAmount = 0;
mGotMoney = 0;