Uninitialized members

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@945 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-21 12:10:31 +00:00
parent f37ee2d46b
commit 8e6efff69f
2 changed files with 5 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ void DecimaterViewerWidget::keyPressEvent(QKeyEvent* _event)
case Key_Q:
case Key_Escape:
qApp->quit();
break;
default:
this->inherited_t::keyPressEvent(_event);
break;

View File

@@ -111,7 +111,10 @@ public:
/// default constructor
DecimaterViewerWidget(QWidget* _parent=0)
: MeshViewerWidget(_parent), steps_(1)
: MeshViewerWidget(_parent),
animate_(false),
timer_(0),
steps_(1)
{
timer_ = new QTimer(this);