mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-02 14:45:47 -05:00
Clean up MacroSegmentList
This commit is contained in:
@@ -75,7 +75,7 @@ void MacroSegmentList::SetHelpMsgVisible(bool visible)
|
||||
_helpMsg->setVisible(visible);
|
||||
}
|
||||
|
||||
void MacroSegmentList::Insert(int idx, QWidget *widget)
|
||||
void MacroSegmentList::Insert(int idx, MacroSegmentEdit *widget)
|
||||
{
|
||||
widget->installEventFilter(this);
|
||||
_contentLayout->insertWidget(idx, widget);
|
||||
@@ -135,8 +135,6 @@ void MacroSegmentList::SetSelection(int idx)
|
||||
|
||||
bool MacroSegmentList::eventFilter(QObject *object, QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::MouseButtonPress) {
|
||||
}
|
||||
switch (event->type()) {
|
||||
case QEvent::MouseButtonPress:
|
||||
mousePressEvent(static_cast<QMouseEvent *>(event));
|
||||
|
||||
Reference in New Issue
Block a user