Refactoring. More appropriate name for a method.
--HG-- branch : feature
This commit is contained in:
parent
4565a47b91
commit
4d75ca0fe3
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user