mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
add a couple of missing consts
This commit is contained in:
parent
ac588a569e
commit
2ee367fa44
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ void Player::loopRecording() {
|
|||
_timer.restart();
|
||||
}
|
||||
|
||||
void Player::loadFromFile(QString& file) {
|
||||
void Player::loadFromFile(const QString& file) {
|
||||
if (_recording) {
|
||||
_recording->clear();
|
||||
} else {
|
||||
|
|
|
@ -86,7 +86,7 @@ void Recorder::stopRecording() {
|
|||
qDebug().nospace() << "Recorded " << _recording->getFrameNumber() << " during " << _recording->getLength() << " msec (" << _recording->getFrameNumber() / (_recording->getLength() / 1000.0f) << " fps)";
|
||||
}
|
||||
|
||||
void Recorder::saveToFile(QString& file) {
|
||||
void Recorder::saveToFile(const QString& file) {
|
||||
if (_recording->isEmpty()) {
|
||||
qDebug() << "Cannot save recording to file, recording is empty.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue