diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 0a0a2ef99..6844da28a 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -1114,6 +1114,7 @@ QList MainWindowsNoGUI::CreateScenes(const QList > &details) { QList scenes; + scenes.reserve(papers.size()); for (int i=0; i