aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-09-02 08:49:56 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-09-02 08:49:56 +0000
commit00a567a7c103d0835c180f9a12c471f59756ef80 (patch)
tree4d2acb3eac33972c6b8832b9353557eaa7f4ec18 /astro
parent03298d48f90d67aac93e198bc3151a32ff36cf24 (diff)
downloadports-00a567a7c103d0835c180f9a12c471f59756ef80.tar.gz
ports-00a567a7c103d0835c180f9a12c471f59756ef80.zip
astro/qmapshack: fix build with Qt 5.11
PR: 230884 Obtained from: upstream
Notes
Notes: svn path=/head/; revision=478768
Diffstat (limited to 'astro')
-rw-r--r--astro/qmapshack/files/patch-hg_e9b47af19
1 files changed, 19 insertions, 0 deletions
diff --git a/astro/qmapshack/files/patch-hg_e9b47af b/astro/qmapshack/files/patch-hg_e9b47af
new file mode 100644
index 000000000000..603d9acb0ef3
--- /dev/null
+++ b/astro/qmapshack/files/patch-hg_e9b47af
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User kiozen
+# Date 1528899896 -7200
+# Node ID e9b47af61b0945acb74649bab30dec23ac42f375
+# Parent f52eedfb8f94ea218eb1c55bb8f2fa0c0503238f
+[Issue #344 ] Building latest version of QMapShack fails after updating QT from 5.10.1 to 5.11.0
+
+diff --git a/src/qmapshack/helpers/CToolBarSetupDialog.cpp b/src/qmapshack/helpers/CToolBarSetupDialog.cpp
+--- src/qmapshack/helpers/CToolBarSetupDialog.cpp
++++ src/qmapshack/helpers/CToolBarSetupDialog.cpp
+@@ -20,6 +20,8 @@
+ #include "helpers/CToolBarConfig.h"
+ #include "helpers/CToolBarSetupDialog.h"
+
++#include <QAction>
++
+ bool CToolBarSetupDialog::CItemFilter::shouldBeMoved(QListWidgetItem *item)
+ {
+ CDialogItem * dialogItem = dynamic_cast<CDialogItem *>(item);