diff options
-rw-r--r-- | profile-widget/divetooltipitem.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/profile-widget/divetooltipitem.cpp b/profile-widget/divetooltipitem.cpp index a66d56c3c..4d8bd5a22 100644 --- a/profile-widget/divetooltipitem.cpp +++ b/profile-widget/divetooltipitem.cpp @@ -244,9 +244,6 @@ void ToolTipItem::refresh(const dive *d, const QPointF &pos, bool inPlanner) painter.setBrush(QColor(Qt::red)); painter.drawRect(0,0,16,10); if (idx) { - ProfileWidget2 *view = qobject_cast<ProfileWidget2*>(scene()->views().first()); - Q_ASSERT(view); - const struct plot_data *entry = &pInfo.entry[idx]; painter.setPen(QColor(0, 0, 0, 255)); if (decoMode(inPlanner) == BUEHLMANN) |