Commit 40c90537 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix unused parameter warning

parent 2fe1bbce
......@@ -905,6 +905,8 @@ QPainterPath ClassifierWidget::shape() const
*/
void ClassifierWidget::drawAsCircle(QPainter *painter, const QStyleOptionGraphicsItem *option)
{
Q_UNUSED(option);
const int w = width();
if (associationWidgetList().size() > 1) {
......
......@@ -316,8 +316,9 @@ bool PinPortBase::loadFromXMI1(QDomElement & qElement)
return true;
}
bool PinPortBase::activate(IDChangeLog* ChangeLog)
bool PinPortBase::activate(IDChangeLog* changeLog)
{
Q_UNUSED(changeLog);
m_childPlacement->detectConnectedSide();
return true;
}
......
......@@ -56,7 +56,7 @@ public slots:
protected:
void init(UMLWidget *owner = 0);
bool activate(IDChangeLog* ChangeLog = 0);
bool activate(IDChangeLog* changeLog = 0);
private:
ChildWidgetPlacement* createPlacement(WidgetBase::WidgetType type);
......
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