X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=41dffca1f92323c9ece2090893aea04e90afd30f;hb=786b76785856c6cf8f5916c0b8d76a61695762f9;hp=77ac1aa88c343498bfcaf57939b4f0995862b54a;hpb=23e75650eba0491b2636de3cef87f893e38ae6f3;p=pulseview.git diff --git a/pv/view/header.cpp b/pv/view/header.cpp index 77ac1aa..41dffca 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -96,19 +96,6 @@ void Header::clear_selection() update(); } -void Header::show_popup(const shared_ptr &item) -{ - using pv::widgets::Popup; - - Popup *const p = item->create_popup(&view_); - if (!p) - return; - - const QPoint pt(width() - BaselineOffset, item->get_visual_y()); - p->set_position(mapToGlobal(pt), Popup::Right); - p->show(); -} - void Header::paintEvent(QPaintEvent*) { // The trace labels are not drawn with the arrows exactly on the