summaryrefslogtreecommitdiff
path: root/platform/qt
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-12-04 09:46:50 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-12-04 11:50:05 +0200
commit1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf (patch)
tree4a27d48c36aff4f9532e9ab66d7444aabec6ad25 /platform/qt
parent27536631d01d623bb4a08c3e85f2a62a6d187a12 (diff)
downloadqtlocation-mapboxgl-1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf.tar.gz
[core] Remove Map::cycleDebugOptions
Diffstat (limited to 'platform/qt')
-rw-r--r--platform/qt/app/mapwindow.cpp3
-rw-r--r--platform/qt/include/qmapboxgl.hpp2
-rw-r--r--platform/qt/src/qmapboxgl.cpp9
3 files changed, 0 insertions, 14 deletions
diff --git a/platform/qt/app/mapwindow.cpp b/platform/qt/app/mapwindow.cpp
index 6171c8bf35..0a143280d3 100644
--- a/platform/qt/app/mapwindow.cpp
+++ b/platform/qt/app/mapwindow.cpp
@@ -400,9 +400,6 @@ void MapWindow::keyPressEvent(QKeyEvent *ev)
}
}
break;
- case Qt::Key_Tab:
- m_map->cycleDebugOptions();
- break;
default:
break;
}
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index 7441b1aa18..337991aa1c 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -153,8 +153,6 @@ public:
qreal pixelRatio = 1);
virtual ~QMapboxGL();
- void cycleDebugOptions();
-
QString styleJson() const;
QString styleUrl() const;
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp
index 1fdfb6ef3a..a4cadf8100 100644
--- a/platform/qt/src/qmapboxgl.cpp
+++ b/platform/qt/src/qmapboxgl.cpp
@@ -583,15 +583,6 @@ QMapboxGL::~QMapboxGL()
}
/*!
- Cycles through several debug options like showing the tile borders,
- tile numbers, expiration time and wireframe.
-*/
-void QMapboxGL::cycleDebugOptions()
-{
- d_ptr->mapObj->cycleDebugOptions();
-}
-
-/*!
\property QMapboxGL::styleJson
\brief the map style JSON.