summarylogtreecommitdiffstats
path: root/olive-0.1.2-clickablelabel.patch
diff options
context:
space:
mode:
authorTércio Martins2020-06-24 02:48:27 -0300
committerTércio Martins2020-06-24 02:48:27 -0300
commit37b862fc4dfa545e98e29163123cb67a69607cbb (patch)
tree379679b18ea2fa374fbe5b11d3789f5c377daf3e /olive-0.1.2-clickablelabel.patch
parentbff3fda825f57ccc7adf4e64915dcd79d774363a (diff)
downloadaur-37b862fc4dfa545e98e29163123cb67a69607cbb.tar.gz
Compilation issue resolved, error messages during build treated, updated metadata files.
Diffstat (limited to 'olive-0.1.2-clickablelabel.patch')
-rw-r--r--olive-0.1.2-clickablelabel.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/olive-0.1.2-clickablelabel.patch b/olive-0.1.2-clickablelabel.patch
new file mode 100644
index 000000000000..5b8adb1ea777
--- /dev/null
+++ b/olive-0.1.2-clickablelabel.patch
@@ -0,0 +1,18 @@
+Description: This patch changes the value of Qt::WindowFlags to a constant, instead of an integer.
+
+<https://doc.qt.io/qt-5/qt.html#WindowType-enum>
+
+diff --unified --recursive --text olive-0.1.2-orig/ui/clickablelabel.h olive-0.1.2-new/ui/clickablelabel.h
+--- olive-0.1.2-orig/ui/clickablelabel.h 2019-11-11 03:05:02.000000000 -0300
++++ olive-0.1.2-new/ui/clickablelabel.h 2020-06-23 14:12:08.786765041 -0300
+@@ -31,8 +31,8 @@
+ class ClickableLabel : public QLabel {
+ Q_OBJECT
+ public:
+- ClickableLabel(QWidget * parent = 0, Qt::WindowFlags f = 0);
+- ClickableLabel(const QString & text, QWidget * parent = 0, Qt::WindowFlags f = 0);
++ ClickableLabel(QWidget * parent = 0, Qt::WindowFlags f = Qt::Widget);
++ ClickableLabel(const QString & text, QWidget * parent = 0, Qt::WindowFlags f = Qt::Widget);
+ void mousePressEvent(QMouseEvent *ev);
+ signals:
+ void clicked();