summaryrefslogtreecommitdiff
path: root/src/plugins/cvs
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-09-01 14:10:00 +0000
committerTobias Hunger <tobias.hunger@nokia.com>2011-09-05 11:19:53 +0200
commit50d35c74f9eeae82a9494d71d49f5e3b0631a949 (patch)
tree628befd28bfdb025db1698a2441d901a08d6fe47 /src/plugins/cvs
parenteac89e401d64079f4a3ef05ce7078cbefea271df (diff)
downloadqt-creator-50d35c74f9eeae82a9494d71d49f5e3b0631a949.tar.gz
CVS: Fix comparison of settings
Clang did pick this one up. Change-Id: I150a4b4d9a504b1b6d741a0e10db10c63523bcd3 Reviewed-on: http://codereview.qt.nokia.com/4086 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/cvs')
-rw-r--r--src/plugins/cvs/cvssettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvssettings.cpp b/src/plugins/cvs/cvssettings.cpp
index 26f1ca7b3c..beda68459b 100644
--- a/src/plugins/cvs/cvssettings.cpp
+++ b/src/plugins/cvs/cvssettings.cpp
@@ -94,7 +94,7 @@ void CVSSettings::toSettings(QSettings *settings) const
bool CVSSettings::equals(const CVSSettings &s) const
{
- return promptToSubmit == promptToSubmit
+ return promptToSubmit == s.promptToSubmit
&& describeByCommitId == s.describeByCommitId
&& cvsCommand == s.cvsCommand
&& cvsRoot == s.cvsRoot