summaryrefslogtreecommitdiff
path: root/src/plugins/perforce/settingspage.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-07 11:33:30 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-07 11:33:30 +0100
commitb4969672d30f7b61eeccf929a1de2f967e244e36 (patch)
treef612fdcdc34aac3fabf2edeb5bca4077ea3ddbb5 /src/plugins/perforce/settingspage.cpp
parentaadc0b9bd601629469c2636b171022b5d9e76322 (diff)
downloadqt-creator-b4969672d30f7b61eeccf929a1de2f967e244e36.tar.gz
VCS[Perforce/SVN/CVS]: Add "Annotate" to single file logs.
...over change numbers. Add missing "Log project/repository" actions and log count limits. Task-number: QTCREATORBUG-503
Diffstat (limited to 'src/plugins/perforce/settingspage.cpp')
-rw-r--r--src/plugins/perforce/settingspage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/perforce/settingspage.cpp b/src/plugins/perforce/settingspage.cpp
index 456a049805..793697bc42 100644
--- a/src/plugins/perforce/settingspage.cpp
+++ b/src/plugins/perforce/settingspage.cpp
@@ -82,6 +82,7 @@ Settings SettingsPageWidget::settings() const
settings.p4User = m_ui.userLineEdit->text();
settings.p4Client= m_ui.clientLineEdit->text();
settings.timeOutS = m_ui.timeOutSpinBox->value();
+ settings.logCount = m_ui.logCountSpinBox->value();
settings.promptToSubmit = m_ui.promptToSubmitCheckBox->isChecked();
return settings;
}
@@ -93,6 +94,7 @@ void SettingsPageWidget::setSettings(const PerforceSettings &s)
m_ui.portLineEdit->setText(s.p4Port());
m_ui.clientLineEdit->setText(s.p4Client());
m_ui.userLineEdit->setText(s.p4User());
+ m_ui.logCountSpinBox->setValue(s.logCount());
m_ui.timeOutSpinBox->setValue(s.timeOutS());
m_ui.promptToSubmitCheckBox->setChecked(s.promptToSubmit());
}