aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/curveeditor/detail
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/curveeditor/detail')
-rw-r--r--src/plugins/qmldesigner/components/curveeditor/detail/handleitem.cpp4
-rw-r--r--src/plugins/qmldesigner/components/curveeditor/detail/keyframeitem.cpp4
-rw-r--r--src/plugins/qmldesigner/components/curveeditor/detail/selector.cpp2
-rw-r--r--src/plugins/qmldesigner/components/curveeditor/detail/treemodel.cpp2
-rw-r--r--src/plugins/qmldesigner/components/curveeditor/detail/treeview.cpp4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/handleitem.cpp b/src/plugins/qmldesigner/components/curveeditor/detail/handleitem.cpp
index c54b26e279..1499763a53 100644
--- a/src/plugins/qmldesigner/components/curveeditor/detail/handleitem.cpp
+++ b/src/plugins/qmldesigner/components/curveeditor/detail/handleitem.cpp
@@ -75,8 +75,8 @@ QRectF HandleItem::boundingRect() const
void HandleItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
- Q_UNUSED(option);
- Q_UNUSED(widget);
+ Q_UNUSED(option)
+ Q_UNUSED(widget)
QColor handleColor(isSelected() ? m_style.selectionColor : m_style.color);
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/keyframeitem.cpp b/src/plugins/qmldesigner/components/curveeditor/detail/keyframeitem.cpp
index 94cdbbcbb1..3bff0a348e 100644
--- a/src/plugins/qmldesigner/components/curveeditor/detail/keyframeitem.cpp
+++ b/src/plugins/qmldesigner/components/curveeditor/detail/keyframeitem.cpp
@@ -80,8 +80,8 @@ QRectF KeyframeItem::boundingRect() const
void KeyframeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
- Q_UNUSED(option);
- Q_UNUSED(widget);
+ Q_UNUSED(option)
+ Q_UNUSED(widget)
QPen pen = painter->pen();
pen.setColor(Qt::black);
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/selector.cpp b/src/plugins/qmldesigner/components/curveeditor/detail/selector.cpp
index 633c1ddd39..879ba6e934 100644
--- a/src/plugins/qmldesigner/components/curveeditor/detail/selector.cpp
+++ b/src/plugins/qmldesigner/components/curveeditor/detail/selector.cpp
@@ -108,7 +108,7 @@ void Selector::mouseMove(QMouseEvent *event, GraphicsView *view, Playhead &playh
void Selector::mouseRelease(QMouseEvent *event, GraphicsView *view)
{
- Q_UNUSED(event);
+ Q_UNUSED(event)
applyPreSelection(view);
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/treemodel.cpp b/src/plugins/qmldesigner/components/curveeditor/detail/treemodel.cpp
index 1ea037091d..3e437bda96 100644
--- a/src/plugins/qmldesigner/components/curveeditor/detail/treemodel.cpp
+++ b/src/plugins/qmldesigner/components/curveeditor/detail/treemodel.cpp
@@ -121,7 +121,7 @@ int TreeModel::rowCount(const QModelIndex &parent) const
int TreeModel::columnCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent);
+ Q_UNUSED(parent)
return m_root->columnCount();
}
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/treeview.cpp b/src/plugins/qmldesigner/components/curveeditor/detail/treeview.cpp
index 3b9a4ef7c5..4daa6d3e3e 100644
--- a/src/plugins/qmldesigner/components/curveeditor/detail/treeview.cpp
+++ b/src/plugins/qmldesigner/components/curveeditor/detail/treeview.cpp
@@ -91,8 +91,8 @@ void TreeView::changeCurve(unsigned int id, const AnimationCurve &curve)
void TreeView::changeSelection(const QItemSelection &selected, const QItemSelection &deselected)
{
- Q_UNUSED(selected);
- Q_UNUSED(deselected);
+ Q_UNUSED(selected)
+ Q_UNUSED(deselected)
std::vector<CurveItem *> curves;
for (auto index : selectedIndexes()) {