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
4b087384
Commit
4b087384
authored
May 21, 2022
by
Jean-Baptiste Mardelle
Committed by
Vincent Pinon
Jun 12, 2022
Browse files
Fix compilation with Qt < 5.14
parent
460910bc
Pipeline
#189454
passed with stage
in 11 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/renderwidget.cpp
View file @
4b087384
...
...
@@ -336,7 +336,11 @@ void RenderWidget::slotShareActionFinished(const QJsonObject &output, int error,
QSize
RenderWidget
::
sizeHint
()
const
{
// Make sure the widget has minimum size on opening
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
return
{
200
,
200
};
#else
return
{
200
,
qMax
(
200
,
screen
()
->
availableGeometry
().
height
())};
#endif
}
RenderWidget
::~
RenderWidget
()
...
...
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