Time drift menu option should have units

This commit is contained in:
Jordan Sherer 2019-12-13 15:27:42 -05:00
parent c036a72636
commit 201252bb88

View File

@ -1198,7 +1198,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
}
int tdrift = -int(items.last().tdrift * 1000);
auto qtrAction = menu->addAction(QString("Jump to %1 time drift").arg(tdrift));
auto qtrAction = menu->addAction(QString("Jump to %1 ms time drift").arg(tdrift));
connect(qtrAction, &QAction::triggered, this, [this, tdrift](){
setDrift(tdrift);
});
@ -1439,7 +1439,7 @@ 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));
auto qtrAction = menu->addAction(QString("Jump to %1 ms time drift").arg(tdrift));
connect(qtrAction, &QAction::triggered, this, [this, tdrift](){
setDrift(tdrift);
});