Create a single parent options page for the Version Control category

Cleans up some duplication for each page.

Reviewed-by: Friedemann Kleint
This commit is contained in:
Thorbjørn Lindeijer
2010-04-12 16:52:09 +02:00
parent f9051e6f87
commit 5e96fa3a91
17 changed files with 148 additions and 132 deletions

View File

@@ -142,8 +142,8 @@ void MercurialSettings::readSettings(const QSettings *settings)
bool MercurialSettings::equals(const MercurialSettings &rhs) const
{
return m_binary == rhs.m_binary && m_standardArguments == rhs.m_standardArguments
&& m_user == rhs.m_user && m_mail == rhs.m_mail
&& m_logCount == rhs.m_logCount && m_timeoutSeconds == rhs.m_timeoutSeconds
&& m_prompt == rhs.m_prompt;
return m_binary == rhs.m_binary && m_standardArguments == rhs.m_standardArguments
&& m_user == rhs.m_user && m_mail == rhs.m_mail
&& m_logCount == rhs.m_logCount && m_timeoutSeconds == rhs.m_timeoutSeconds
&& m_prompt == rhs.m_prompt;
}