summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-08-26 14:46:08 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-08-26 16:39:38 +0300
commit8801c9031b407d02274f36eb1c7e959252541064 (patch)
treeb3c1fae5a0024cc84fe2aae8cde66da9fbc95275
parent8d258e3542bddfbc12c93a43f47e3ffa76d9e7e2 (diff)
downloadqtlocation-mapboxgl-8801c9031b407d02274f36eb1c7e959252541064.tar.gz
[Qt] s/parent_/parent
Fits better with the docs.
-rw-r--r--platform/qt/src/qmapboxgl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp
index 5ffd517e63..111e92d1f0 100644
--- a/platform/qt/src/qmapboxgl.cpp
+++ b/platform/qt/src/qmapboxgl.cpp
@@ -262,8 +262,8 @@ void QMapboxGLSettings::setAccessToken(const QString &token)
Constructs a QMapboxGL object with \a settings and sets \a parent as the parent
object. The \a settings cannot be changed after the object is constructed.
*/
-QMapboxGL::QMapboxGL(QObject *parent_, const QMapboxGLSettings &settings)
- : QObject(parent_)
+QMapboxGL::QMapboxGL(QObject *parent, const QMapboxGLSettings &settings)
+ : QObject(parent)
{
// Multiple QMapboxGL running on the same thread
// will share the same mbgl::util::RunLoop