Cppcheck warning. Virtual function 'CleanLayout' is called from destructor

'~MainWindow()'.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-07-09 14:19:07 +03:00
parent fedbe60952
commit 24796e7f2d

View File

@ -4454,7 +4454,7 @@ QString MainWindow::PatternPieceName(const QString &text)
MainWindow::~MainWindow()
{
CancelTool();
CleanLayout();
qDeleteAll (scenes);
delete doc;
delete ui;