summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase/vcsbaseclientsettings.cpp
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-01-07 03:35:54 +0100
committerhjk <qthjk@ovi.com>2012-01-09 10:38:55 +0100
commit2eadc220235afb539d9a13d7d4344dadd2213fa5 (patch)
tree49889fd15d6f443cdd238e00f74b7b18fc8e7e01 /src/plugins/vcsbase/vcsbaseclientsettings.cpp
parentbf197d7a1234ab2a10b59fd7f50cb6d67780d72c (diff)
downloadqt-creator-2eadc220235afb539d9a13d7d4344dadd2213fa5.tar.gz
vcsbase: style
Change-Id: I139d9d46605383f03215c80bd9e9fd965021b435 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseclientsettings.cpp')
-rw-r--r--src/plugins/vcsbase/vcsbaseclientsettings.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/vcsbase/vcsbaseclientsettings.cpp b/src/plugins/vcsbase/vcsbaseclientsettings.cpp
index cf302bbcd9..ff1cee73d2 100644
--- a/src/plugins/vcsbase/vcsbaseclientsettings.cpp
+++ b/src/plugins/vcsbase/vcsbaseclientsettings.cpp
@@ -157,12 +157,11 @@ bool operator==(const SettingValue &lhs, const SettingValue &rhs)
namespace VCSBase {
namespace Internal {
+
class VCSBaseClientSettingsPrivate : public QSharedData
{
public:
- VCSBaseClientSettingsPrivate()
- {
- }
+ VCSBaseClientSettingsPrivate() {}
VCSBaseClientSettingsPrivate(const VCSBaseClientSettingsPrivate &other) :
QSharedData(other),
@@ -213,7 +212,7 @@ VCSBaseClientSettings::VCSBaseClientSettings(const VCSBaseClientSettings &other)
VCSBaseClientSettings &VCSBaseClientSettings::operator=(const VCSBaseClientSettings &other)
{
if (this != &other)
- d = other.d;
+ d = other.d;
return *this;
}