Mercurial > hg > svgui
comparison layer/TextLayer.cpp @ 850:0c993091a4c9
Fix uninitialised variable (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 11:48:18 +0100 |
parents | 1d526ba11a24 |
children | 4a578a360011 |
comparison
equal
deleted
inserted
replaced
849:d7f6f60a8b30 | 850:0c993091a4c9 |
---|---|
334 // SVDEBUG << "TextLayer::paint: resolution is " | 334 // SVDEBUG << "TextLayer::paint: resolution is " |
335 // << m_model->getResolution() << " frames" << endl; | 335 // << m_model->getResolution() << " frames" << endl; |
336 | 336 |
337 QPoint localPos; | 337 QPoint localPos; |
338 TextModel::Point illuminatePoint(0); | 338 TextModel::Point illuminatePoint(0); |
339 bool shouldIlluminate; | 339 bool shouldIlluminate = false; |
340 | 340 |
341 if (v->shouldIlluminateLocalFeatures(this, localPos)) { | 341 if (v->shouldIlluminateLocalFeatures(this, localPos)) { |
342 shouldIlluminate = getPointToDrag(v, localPos.x(), localPos.y(), | 342 shouldIlluminate = getPointToDrag(v, localPos.x(), localPos.y(), |
343 illuminatePoint); | 343 illuminatePoint); |
344 } | 344 } |