Skip to content

Commit ea7decf

Browse files
authored
Disable deprecation warnings for PopupViewController.cpp (#709)
* Disable deprecation warnings for PopupViewController.cpp * James PR: Forward declare PopupManager
1 parent 7f2aec0 commit ea7decf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

uitools/common/src/PopupViewController.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
******************************************************************************/
17+
#define QRT_DISABLE_DEPRECATED_WARNINGS
18+
1719
#include "PopupViewController.h"
1820

1921
// Qt headers

uitools/common/src/PopupViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
#include <Deprecated.h>
2626
#include <Popup.h>
2727
#include <PopupElement.h>
28-
#include <PopupManager.h>
2928

3029
// Other headers
3130
#include "GenericListModel.h"
3231

3332
Q_MOC_INCLUDE("PopupAttachmentListModel.h")
33+
Q_MOC_INCLUDE("PopupManager.h")
3434

3535
namespace Esri::ArcGISRuntime {
3636

0 commit comments

Comments
 (0)