Fixed #280: sync to station right click option.
This commit is contained in:
parent
ee9ed66f82
commit
c036a72636
@ -1196,6 +1196,12 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
setSubmode(submode);
|
setSubmode(submode);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tdrift = -int(items.last().tdrift * 1000);
|
||||||
|
auto qtrAction = menu->addAction(QString("Jump to %1 time drift").arg(tdrift));
|
||||||
|
connect(qtrAction, &QAction::triggered, this, [this, tdrift](){
|
||||||
|
setDrift(tdrift);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
@ -1432,6 +1438,12 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tdrift = -int(m_callActivity[selectedCall].tdrift * 1000);
|
||||||
|
auto qtrAction = menu->addAction(QString("Jump to %1 time drift").arg(tdrift));
|
||||||
|
connect(qtrAction, &QAction::triggered, this, [this, tdrift](){
|
||||||
|
setDrift(tdrift);
|
||||||
|
});
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user