From 133d82d6025040d4fc86a3c79a7a2116af4d5fc6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 21 Jul 2019 12:28:28 +0300 Subject: [PATCH] Speed optimization. --HG-- branch : develop --- src/app/valentina/mainwindowsnogui.cpp | 1 + 1 file changed, 1 insertion(+) 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