MarginWidget: Moved in create_popup
[pulseview.git] / pv / view / header.cpp
index 77ac1aa88c343498bfcaf57939b4f0995862b54a..41dffca1f92323c9ece2090893aea04e90afd30f 100644 (file)
@@ -96,19 +96,6 @@ void Header::clear_selection()
        update();
 }
 
-void Header::show_popup(const shared_ptr<RowItem> &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