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
e053e1d0
Commit
e053e1d0
authored
Oct 04, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix compilation
parent
ab2691e8
Pipeline
#36394
passed with stage
in 17 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
e053e1d0
...
...
@@ -1245,8 +1245,8 @@ QRect GLWidget::displayRect() const
QPoint
GLWidget
::
offset
()
const
{
return
{
m_offset
.
x
()
-
((
int
)
width
()
*
m_zoom
/
2
),
m_offset
.
y
()
-
((
int
)
height
()
*
m_zoom
/
2
)};
return
{
m_offset
.
x
()
-
static_cast
<
int
>
(
width
()
*
m_zoom
/
2
),
m_offset
.
y
()
-
static_cast
<
int
>
(
height
()
*
m_zoom
/
2
)};
}
void
GLWidget
::
setZoom
(
float
zoom
)
...
...
Write
Preview
Markdown
is supported
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