diff --git a/src/gui/export_project_dialog.cpp b/src/gui/export_project_dialog.cpp index 66040cbf3..1a18b5695 100644 --- a/src/gui/export_project_dialog.cpp +++ b/src/gui/export_project_dialog.cpp @@ -253,8 +253,8 @@ ProjectRenderer* exportProjectDialog::prepRender() static_cast(interpolationCB->currentIndex()), static_cast(oversamplingCB->currentIndex()) ); - int samplerates[5] = { 44100, 48000, 88200, 96000, 192000 }; - int bitrates[6] = { 64, 128, 160, 192, 256, 320 }; + const int samplerates[5] = { 44100, 48000, 88200, 96000, 192000 }; + const int bitrates[6] = { 64, 128, 160, 192, 256, 320 }; ProjectRenderer::OutputSettings os = ProjectRenderer::OutputSettings( samplerates[ samplerateCB->currentIndex() ],