aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/timelineeditor
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2020-06-24 16:55:14 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2020-06-24 15:10:07 +0000
commitf26c51d5626d0e2dbb1e3743c8993a744fdea832 (patch)
tree8cb41a725d6206b45171ed42961b9155a5a07d67 /src/plugins/qmldesigner/components/timelineeditor
parent3cb12a51ceb658a729c86192101a484e1e9c9158 (diff)
QmlDesigner: Add missing static
Change-Id: Ic71aeeb8f6cf65944672a0f1d09f2d70e824d760 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor')
-rw-r--r--src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
index dec61de19f..39874f51b0 100644
--- a/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
+++ b/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
@@ -56,19 +56,19 @@
namespace QmlDesigner {
-bool isSpacer(QObject *object)
+static bool isSpacer(QObject *object)
{
return object->property("spacer_widget").toBool();
}
-QWidget *createSpacer()
+static QWidget *createSpacer()
{
QWidget *spacer = new QWidget();
spacer->setProperty("spacer_widget", true);
return spacer;
}
-int controlWidth(QToolBar *bar, QObject *control)
+static int controlWidth(QToolBar *bar, QObject *control)
{
QWidget *widget = nullptr;
@@ -84,7 +84,7 @@ int controlWidth(QToolBar *bar, QObject *control)
return 0;
}
-QAction *createAction(const Core::Id &id,
+static QAction *createAction(const Core::Id &id,
const QIcon &icon,
const QString &name,
const QKeySequence &shortcut)