summaryrefslogtreecommitdiff
path: root/quacker/movebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quacker/movebox.cpp')
-rw-r--r--quacker/movebox.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/quacker/movebox.cpp b/quacker/movebox.cpp
index 9370fdb..5ca9572 100644
--- a/quacker/movebox.cpp
+++ b/quacker/movebox.cpp
@@ -262,10 +262,9 @@ QTreeWidgetItem *MoveBox::createItem(const Quackle::Move &move)
item->setText(LeaveColumn, QuackleIO::Util::letterStringToQString(QuackleIO::Util::arrangeLettersForUser(m_rack - move)));
item->setText(WinPercentageColumn, formatWinPercentage(move.win));
item->setText(EquityColumn, formatValuation(move.equity));
- if (!move.outcomes.empty()) {
- // show Macondo pre-endgame outcomes when item is hovered over
+ if (!move.comment.empty()) {
for (int column = 0; column < m_treeWidget->columnCount(); column++) {
- item->setToolTip(column, QString::fromStdString(move.outcomes));
+ item->setToolTip(column, QString::fromStdString(move.comment));
}
}
return item;