astro/qmapshack: fix build with Qt 5.11

PR:		230884
Obtained from:	upstream
This commit is contained in:
Tobias C. Berner 2018-09-02 08:49:56 +00:00
parent 03298d48f9
commit 00a567a7c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478768

View File

@ -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);