Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Static members should use a 's' prefix, not 'm'
  • Loading branch information
nyalldawson committed Sep 12, 2017
1 parent cad8fa8 commit a46cc54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/core/geonode/qgsgeonodeconnection.cpp
Expand Up @@ -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 )
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/core/geonode/qgsgeonodeconnection.h
Expand Up @@ -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;
Expand Down

0 comments on commit a46cc54

Please sign in to comment.