Commit b685d388 authored by Jan Möbius's avatar Jan Möbius

Fixed a lot of cppcheck warnings and some minor bugs

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13301 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a216c12f
...@@ -632,7 +632,7 @@ void TextureControlPlugin::slotGetCurrentTexture( int _id, QString& _textureName ...@@ -632,7 +632,7 @@ void TextureControlPlugin::slotGetCurrentTexture( int _id, QString& _textureName
// Iterate over all per Object datas and output them // Iterate over all per Object datas and output them
QMap<QString, PerObjectData*>::const_iterator mapIter = obj->getPerObjectDataMap().begin(); QMap<QString, PerObjectData*>::const_iterator mapIter = obj->getPerObjectDataMap().begin();
while ( mapIter != obj->getPerObjectDataMap().end() ) { while ( mapIter != obj->getPerObjectDataMap().end() ) {
mapIter++; ++mapIter;
} }
#endif #endif
......
...@@ -315,7 +315,7 @@ void texturePropertiesWidget::textureChanged(QTreeWidgetItem* _item, int _column ...@@ -315,7 +315,7 @@ void texturePropertiesWidget::textureChanged(QTreeWidgetItem* _item, int _column
emit getCoordinates1D(textureName_, id_, coords); emit getCoordinates1D(textureName_, id_, coords);
if ( coords.size() > 0 ){ if ( ! coords.empty() ){
functionPlot_->setFunction( coords ); functionPlot_->setFunction( coords );
......
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