mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2022-11-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatch(1) that marker modification made via the mouse menu to fail to notify remote instances of changes. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -76,6 +76,9 @@ void CatchTableView::editAudioMenuData()
|
||||
if(d_marker_dialog->
|
||||
exec(RDCut::cartNumber(cutname),RDCut::cutNumber(cutname))) {
|
||||
rdcart->updateLength();
|
||||
mod->refresh(mod->index(d_mouse_row,0));
|
||||
SendNotification(RDNotification::ModifyAction,
|
||||
mod->recordId(mod->index(d_mouse_row,0)));
|
||||
}
|
||||
|
||||
delete rdcart;
|
||||
@@ -95,3 +98,13 @@ void CatchTableView::mousePressEvent(QMouseEvent *e)
|
||||
}
|
||||
QTableView::mousePressEvent(e);
|
||||
}
|
||||
|
||||
|
||||
void CatchTableView::SendNotification(RDNotification::Action action,
|
||||
unsigned rec_id) const
|
||||
{
|
||||
RDNotification *notify=
|
||||
new RDNotification(RDNotification::CatchEventType,action,rec_id);
|
||||
rda->ripc()->sendNotification(*notify);
|
||||
delete notify;
|
||||
}
|
||||
|
@@ -42,6 +42,7 @@ class CatchTableView : public RDTableView
|
||||
void mousePressEvent(QMouseEvent *e);
|
||||
|
||||
private:
|
||||
void SendNotification(RDNotification::Action action,unsigned rec_id) const;
|
||||
QMenu *d_mouse_menu;
|
||||
QAction *d_edit_audio_action;
|
||||
QString catch_cutname;
|
||||
|
@@ -298,8 +298,6 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
}
|
||||
delete q;
|
||||
|
||||
QTime start=QTime::currentTime();
|
||||
|
||||
//
|
||||
// Cart List
|
||||
//
|
||||
|
Reference in New Issue
Block a user