summaryrefslogtreecommitdiff
path: root/x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp
diff options
context:
space:
mode:
authorJesper Schmitz Mouridsen <jsm@FreeBSD.org>2020-01-29 14:22:22 +0000
committerJesper Schmitz Mouridsen <jsm@FreeBSD.org>2020-01-29 14:22:22 +0000
commit586b77bee16757a842f39c1caa19b4c9d4961688 (patch)
treed44d1cc2f12356081d3cb59e63048e381f97a02c /x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp
parentUpdate to 2.10.56 (diff)
New port x11/albert
Albert is a fast and flexible keyboard launcher Approved by: lwhsu Differential Revision: https://reviews.freebsd.org/D23367
Diffstat (limited to 'x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp')
-rw-r--r--x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp b/x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp
new file mode 100644
index 000000000000..0e25fe51d214
--- /dev/null
+++ b/x11/albert/files/patch-plugins_qmlboxmodel_src_mainwindow.cpp
@@ -0,0 +1,13 @@
+--- plugins/qmlboxmodel/src/mainwindow.cpp.orig 2018-12-31 15:24:22 UTC
++++ plugins/qmlboxmodel/src/mainwindow.cpp
+@@ -397,8 +397,8 @@ bool QmlBoxModel::MainWindow::event(QEvent *event) {
+ }
+
+
+-#ifdef Q_OS_LINUX
+-/** ****************************************************************************
++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
++/******************************************************************************
+ * @brief MainWidget::nativeEvent
+ *
+ * The purpose of this function is to hide in special casesonly.