diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index a3756fe29..a156e99c5 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -5283,7 +5283,7 @@ bool MainWindow::DoExport(const VCommandLinePtr &expParams) auto settings = expParams->DefaultGenerator(); settings->SetTextAsPaths(expParams->IsTextAsPaths()); - if (LayoutSettings(*settings.get())) + if (GenerateLayout(*settings.get())) { try { diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 9451f333e..527bfcf24 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -210,7 +210,7 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked) return; } layoutPrinterName = layout.SelectedPrinter(); - LayoutSettings(lGenerator); + GenerateLayout(lGenerator); tButton->setChecked(false); } else @@ -220,7 +220,7 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked) } //--------------------------------------------------------------------------------------------------------------------- -bool MainWindowsNoGUI::LayoutSettings(VLayoutGenerator& lGenerator) +bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator) { lGenerator.SetDetails(listDetails); diff --git a/src/app/valentina/mainwindowsnogui.h b/src/app/valentina/mainwindowsnogui.h index 274c057a3..63edd0723 100644 --- a/src/app/valentina/mainwindowsnogui.h +++ b/src/app/valentina/mainwindowsnogui.h @@ -133,7 +133,7 @@ protected: virtual void CleanLayout()=0; virtual void PrepareSceneList()=0; QIcon ScenePreview(int i) const; - bool LayoutSettings(VLayoutGenerator& lGenerator); + bool GenerateLayout(VLayoutGenerator& lGenerator); int ContinueIfLayoutStale(); QString FileName() const; void SetSizeHeightForIndividualM() const;