diff options
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp index cf237d5a..7094da26 100644 --- a/src/gui/tradewindow.cpp +++ b/src/gui/tradewindow.cpp @@ -165,7 +165,7 @@ void TradeWindow::reset() mOkMe = false; setMoney(0); mMoneyField->setEnabled(true); - mMoneyField->setText(""); + mMoneyField->setText(std::string()); mAddButton->setEnabled(true); mMoneyChangeButton->setEnabled(true); setStatus(PREPARING); @@ -219,7 +219,7 @@ void TradeWindow::setStatus(Status s) break; case PROPOSING: mOkButton->setCaption(CAPTION_CONFIRMED); - mOkButton->setActionEventId(""); + mOkButton->setActionEventId(std::string()); break; case ACCEPTING: mOkButton->setCaption(CAPTION_ACCEPT); @@ -227,7 +227,7 @@ void TradeWindow::setStatus(Status s) break; case ACCEPTED: mOkButton->setCaption(CAPTION_ACCEPTED); - mOkButton->setActionEventId(""); + mOkButton->setActionEventId(std::string()); break; default: break; |