aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp')
-rw-r--r--src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
index 1d0c84a3b8..7c0e69d9ce 100644
--- a/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
+++ b/src/plugins/qmldesigner/components/timelineeditor/timelinetoolbar.cpp
@@ -359,7 +359,7 @@ void TimelineToolBar::createCenterControls()
m_currentFrame = createToolBarLineEdit(this);
addWidget(m_currentFrame);
- auto emitCurrentChanged = [this]() { emit currentFrameChanged(m_currentFrame->text().toInt()); };
+ auto emitCurrentChanged = [this] { emit currentFrameChanged(m_currentFrame->text().toInt()); };
connect(m_currentFrame, &QLineEdit::editingFinished, emitCurrentChanged);
addSeparator();
@@ -419,7 +419,7 @@ void TimelineToolBar::createRightControls()
m_firstFrame = createToolBarLineEdit(this);
addWidget(m_firstFrame);
- auto emitStartChanged = [this]() { emit startFrameChanged(m_firstFrame->text().toInt()); };
+ auto emitStartChanged = [this] { emit startFrameChanged(m_firstFrame->text().toInt()); };
connect(m_firstFrame, &QLineEdit::editingFinished, emitStartChanged);
addSeparator();
@@ -431,7 +431,7 @@ void TimelineToolBar::createRightControls()
tr("Zoom Out"),
QKeySequence(QKeySequence::ZoomOut));
- connect(zoomOut, &QAction::triggered, [this]() {
+ connect(zoomOut, &QAction::triggered, [this] {
m_scale->setValue(m_scale->value() - m_scale->pageStep());
});
addAction(zoomOut);
@@ -458,7 +458,7 @@ void TimelineToolBar::createRightControls()
tr("Zoom In"),
QKeySequence(QKeySequence::ZoomIn));
- connect(zoomIn, &QAction::triggered, [this]() {
+ connect(zoomIn, &QAction::triggered, [this] {
m_scale->setValue(m_scale->value() + m_scale->pageStep());
});
addAction(zoomIn);
@@ -470,7 +470,7 @@ void TimelineToolBar::createRightControls()
m_lastFrame = createToolBarLineEdit(this);
addWidget(m_lastFrame);
- auto emitEndChanged = [this]() { emit endFrameChanged(m_lastFrame->text().toInt()); };
+ auto emitEndChanged = [this] { emit endFrameChanged(m_lastFrame->text().toInt()); };
connect(m_lastFrame, &QLineEdit::editingFinished, emitEndChanged);
addSeparator();