From b2cd18a550350c42bd90f59cdc8e39d0dda6f23c Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 8 Oct 2015 15:02:39 -0700 Subject: [PATCH] [Qt] Forward toggleDebug() from mbgl::Map --- platform/qt/include/qmapboxgl.hpp | 2 ++ platform/qt/src/qmapboxgl.cpp | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp index 5a123a59c..b89fc1361 100644 --- a/platform/qt/include/qmapboxgl.hpp +++ b/platform/qt/include/qmapboxgl.hpp @@ -51,6 +51,8 @@ public: QMapboxGL(QObject *parent = 0, const QMapboxGLSettings& = QMapboxGLSettings()); virtual ~QMapboxGL(); + void cycleDebugOptions(); + void setStyleJSON(const QString &); void setStyleURL(const QString &); diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp index 9dd7babd6..acb57f18b 100644 --- a/platform/qt/src/qmapboxgl.cpp +++ b/platform/qt/src/qmapboxgl.cpp @@ -75,6 +75,11 @@ QMapboxGL::~QMapboxGL() delete d_ptr; } +void QMapboxGL::cycleDebugOptions() +{ + d_ptr->mapObj->cycleDebugOptions(); +} + void QMapboxGL::setStyleJSON(const QString &style) { d_ptr->mapObj->setStyleJSON(style.toUtf8().constData());