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); qDeleteAll (scenes);
scenes.clear(); scenes.clear();
@ -2617,7 +2617,7 @@ QString MainWindow::PatternPieceName(const QString &text)
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
CancelTool(); CancelTool();
ClearLayout(); CleanLayout();
#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
delete lock; // Unlock pattern file delete lock; // Unlock pattern file

View File

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

View File

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

View File

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