diff options
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r-- | src/gui/trade.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 0086879e..babb5a87 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -250,10 +250,10 @@ void TradeWindow::mouseClick(int x, int y, int button, int count) // Show Name and Description std::string SomeText; - SomeText = "Name: " + item->getInfo()->getName(); + SomeText = "Name: " + item->getInfo().getName(); mItemNameLabel->setCaption(SomeText); mItemNameLabel->adjustSize(); - SomeText = "Description: " + item->getInfo()->getDescription(); + SomeText = "Description: " + item->getInfo().getDescription(); mItemDescriptionLabel->setCaption(SomeText); mItemDescriptionLabel->adjustSize(); } |