Commit cd118a33 authored by Dmitry Suzdalev's avatar Dmitry Suzdalev
Browse files

Fix memleak + minor issues

svn path=/trunk/KDE/kdegames/klines/; revision=621697
parent 06e42626
......@@ -276,6 +276,10 @@ void KLinesAnimator::findPath( const FieldPos& from, const FieldPos& to )
node = node->parent;
}
}
// cleanup
qDeleteAll( openList );
qDeleteAll( closedList );
}
#include "animator.moc"
......@@ -2,6 +2,8 @@
begin : Fri May 19 2000
copyright : (C) 2000 by Roman Razilov
email : Roman.Razilov@gmx.de
copyright : (C) 2006 by Dmitry Suzdalev
email : dimsuz@gmail.com
***************************************************************************/
/***************************************************************************
......
......@@ -4,6 +4,8 @@
email : roman@sbrf.barrt.ru
copyright : (C) 2000 by Roman Razilov
email : Roman.Razilov@gmx.de
copyright : (C) 2006 by Dmitry Suzdalev
email : dimsuz@gmail.com
***************************************************************************/
/***************************************************************************
......@@ -38,6 +40,7 @@ MainWidget::MainWidget( QWidget* parent )
mainLay->addLayout(right);
right->setMargin(2);
QLabel *label = new QLabel(i18n("Next balls:"), this);
label->setAlignment( Qt::AlignBottom );
m_preview = new BallsPreview(this);
updateNextColors();
......
......@@ -4,6 +4,8 @@
email : roman@sbrf.barrt.ru
copyright : (C) 2000 by Roman Razilov
email : Roman.Razilov@gmx.de
copyright : (C) 2006 by Dmitry Suzdalev
email : dimsuz@gmail.com
***************************************************************************/
/***************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment