mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 14:33:34 +02:00
fixing build issue
This commit is contained in:
parent
23a9209285
commit
c686acc071
1 changed files with 3 additions and 2 deletions
|
@ -93,7 +93,7 @@ namespace controller {
|
|||
}
|
||||
|
||||
|
||||
void exportToFile(QJsonObject& object) {
|
||||
void exportToFile(const QJsonObject& object) {
|
||||
if (!QDir(SAVE_DIRECTORY).exists()) {
|
||||
QDir().mkdir(SAVE_DIRECTORY);
|
||||
}
|
||||
|
@ -186,7 +186,8 @@ namespace controller {
|
|||
}
|
||||
|
||||
void InputRecorder::saveRecording() {
|
||||
exportToFile(recordDataToJson());
|
||||
QJsonObject jsonData = recordDataToJson();
|
||||
exportToFile(jsonData);
|
||||
}
|
||||
|
||||
void InputRecorder::loadRecording(const QString& path) {
|
||||
|
|
Loading…
Reference in a new issue