summarylogtreecommitdiffstats
path: root/olive-0.1.2-FlowLayout.patch
blob: 4b67d2baf733c354bd8b48d9cf651304e7852504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: This patch changes the "FlowLayout::expandingDirections" function according to the new syntax used in Qt 5.15.

<https://doc.qt.io/qt-5.15/qtwidgets-layouts-flowlayout-example.html>

diff --unified --recursive --text olive-0.1.2-orig/ui/flowlayout.cpp olive-0.1.2-new/ui/flowlayout.cpp
--- olive-0.1.2-orig/ui/flowlayout.cpp	2019-11-11 03:05:02.000000000 -0300
+++ olive-0.1.2-new/ui/flowlayout.cpp	2020-06-23 18:29:57.338203268 -0300
@@ -114,7 +114,7 @@
 
 Qt::Orientations FlowLayout::expandingDirections() const
 {
-    return 0;
+    return { };
 }
 
 bool FlowLayout::hasHeightForWidth() const