Skip to content
Permalink
Browse files

Static members should use a 's' prefix, not 'm'

  • Loading branch information
nyalldawson committed Sep 5, 2017
1 parent cad8fa8 commit a46cc54f602c1a88929e472f2def2f975fad39f2
Showing with 6 additions and 6 deletions.
  1. +4 −4 src/core/geonode/qgsgeonodeconnection.cpp
  2. +2 −2 src/core/geonode/qgsgeonodeconnection.h
@@ -18,8 +18,8 @@
#include "qgslogger.h"
#include "qgsdatasourceuri.h"

const QString QgsGeoNodeConnection::mPathGeoNodeConnection = "qgis/connections-geonode";
const QString QgsGeoNodeConnection::mPathGeoNodeConnectionDetails = "qgis/GeoNode";
const QString QgsGeoNodeConnection::sPathGeoNodeConnection = "qgis/connections-geonode";
const QString QgsGeoNodeConnection::sPathGeoNodeConnectionDetails = "qgis/GeoNode";

QgsGeoNodeConnection::QgsGeoNodeConnection( const QString &connName )
: mConnName( connName )
@@ -93,12 +93,12 @@ void QgsGeoNodeConnection::setSelectedConnection( const QString &name )

QString QgsGeoNodeConnection::pathGeoNodeConnection()
{
return mPathGeoNodeConnection;
return sPathGeoNodeConnection;
}

QString QgsGeoNodeConnection::pathGeoNodeConnectionDetails()
{
return mPathGeoNodeConnectionDetails;
return sPathGeoNodeConnectionDetails;
}

QString QgsGeoNodeConnection::connName() const
@@ -58,8 +58,8 @@ class CORE_EXPORT QgsGeoNodeConnection : public QObject

private:
// Path in QSetting
static const QString mPathGeoNodeConnection;
static const QString mPathGeoNodeConnectionDetails;
static const QString sPathGeoNodeConnection;
static const QString sPathGeoNodeConnectionDetails;

//! The connection name
QString mConnName;

0 comments on commit a46cc54

Please sign in to comment.
You can’t perform that action at this time.