Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
96543e22
Commit
96543e22
authored
Nov 09, 2019
by
Jean-Baptiste Mardelle
Browse files
Ensure geometry param size is updated on monitor change
parent
06171396
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/geometrywidget.cpp
View file @
96543e22
...
@@ -174,7 +174,6 @@ GeometryWidget::GeometryWidget(Monitor *monitor, QPair<int, int> range, const QR
...
@@ -174,7 +174,6 @@ GeometryWidget::GeometryWidget(Monitor *monitor, QPair<int, int> range, const QR
layout
->
addLayout
(
alignLayout
);
layout
->
addLayout
(
alignLayout
);
layout
->
addLayout
(
horLayout2
);
layout
->
addLayout
(
horLayout2
);
slotUpdateGeometryRect
(
rect
);
slotUpdateGeometryRect
(
rect
);
adjustSizeValue
();
slotAdjustRectKeyframeValue
();
slotAdjustRectKeyframeValue
();
setMinimumHeight
(
m_spinX
->
minimumHeight
()
+
alignButton
->
sizeHint
().
height
()
+
m_spinSize
->
minimumHeight
());
setMinimumHeight
(
m_spinX
->
minimumHeight
()
+
alignButton
->
sizeHint
().
height
()
+
m_spinSize
->
minimumHeight
());
}
}
...
@@ -379,6 +378,7 @@ void GeometryWidget::slotUpdateGeometryRect(const QRect r)
...
@@ -379,6 +378,7 @@ void GeometryWidget::slotUpdateGeometryRect(const QRect r)
m_spinWidth
->
blockSignals
(
false
);
m_spinWidth
->
blockSignals
(
false
);
m_spinHeight
->
blockSignals
(
false
);
m_spinHeight
->
blockSignals
(
false
);
m_monitor
->
setUpEffectGeometry
(
r
);
m_monitor
->
setUpEffectGeometry
(
r
);
adjustSizeValue
();
emit
valueChanged
(
getValue
());
emit
valueChanged
(
getValue
());
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment