GCC warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-04-26 15:38:49 +03:00
parent f98f897fd3
commit 8651bcadd4

View File

@ -1016,9 +1016,6 @@ void MainWindow::ClosedDialogGroup(int result)
SCASSERT(dialogTool != nullptr);
if (result == QDialog::Accepted)
{
VMainGraphicsScene *scene = qobject_cast<VMainGraphicsScene *>(currentScene);
SCASSERT(scene != nullptr);
DialogGroup *dialog = qobject_cast<DialogGroup*>(dialogTool);
SCASSERT(dialog != nullptr);
const QDomElement group = doc->CreateGroup(pattern->getNextId(), dialog->GetName(), dialog->GetGroup());