Commit b341e717 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 97dcccc6
......@@ -496,7 +496,7 @@ void VSI::WayFind::cleanup()
delete n;
}
else
it++;
++it;
}
}
......
......@@ -215,7 +215,6 @@ QSizeF ZoomButton::sizeHint (Qt::SizeHint _which, const QSizeF &/*_constraint*/)
case Qt::MaximumSize:
sh = QSizeF (pixmap ().width (), pixmap ().height ());
break;
break;
default:
break;
}
......
......@@ -47,6 +47,7 @@
TreeItem::TreeItem(int _id, QString _name, DataType _type, TreeItem* _parent) :
id_(_id),
dataType_(_type),
visible_(true),
name_(_name),
parentItem_(_parent)
{
......
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