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