Spelling error.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-17 18:51:51 +03:00
parent 661c1d3042
commit 7862468fef
4 changed files with 5 additions and 5 deletions

View File

@ -811,7 +811,7 @@ void MainWindow::customEvent(QEvent *event)
}
//---------------------------------------------------------------------------------------------------------------------
void MainWindow::ClearLayout()
void MainWindow::CleanLayout()
{
qDeleteAll (scenes);
scenes.clear();
@ -2617,7 +2617,7 @@ QString MainWindow::PatternPieceName(const QString &text)
MainWindow::~MainWindow()
{
CancelTool();
ClearLayout();
CleanLayout();
#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
delete lock; // Unlock pattern file

View File

@ -147,7 +147,7 @@ protected:
virtual void closeEvent(QCloseEvent *event);
virtual void customEvent(QEvent * event);
virtual void ClearLayout();
virtual void CleanLayout();
virtual void PrepareSceneList();
private:
Q_DISABLE_COPY(MainWindow)

View File

@ -101,7 +101,7 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked)
switch (lGenerator.State())
{
case LayoutErrors::NoError:
ClearLayout();
CleanLayout();
papers = lGenerator.GetPapersItems();// Blank sheets
details = lGenerator.GetAllDetails();// All details
CreateShadows();

View File

@ -87,7 +87,7 @@ protected:
void PrepareDetailsForLayout(const QHash<quint32, VDetail> *details);
void InitTempLayoutScene();
virtual void ClearLayout()=0;
virtual void CleanLayout()=0;
virtual void PrepareSceneList()=0;
QIcon ScenePreview(int i) const;