Time drift menu option should have units
This commit is contained in:
parent
c036a72636
commit
201252bb88
@ -1198,7 +1198,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int tdrift = -int(items.last().tdrift * 1000);
|
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](){
|
connect(qtrAction, &QAction::triggered, this, [this, tdrift](){
|
||||||
setDrift(tdrift);
|
setDrift(tdrift);
|
||||||
});
|
});
|
||||||
@ -1439,7 +1439,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int tdrift = -int(m_callActivity[selectedCall].tdrift * 1000);
|
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](){
|
connect(qtrAction, &QAction::triggered, this, [this, tdrift](){
|
||||||
setDrift(tdrift);
|
setDrift(tdrift);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user