diff options
author | cerf <delorme.hugues@gmail.com> | 2011-06-03 12:57:10 +0000 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-06-03 16:02:08 +0200 |
commit | 9e5fc323ef17eb2204c83700a765dd4a59ad2b7c (patch) | |
tree | 09afc8697afab8596242b9ff83e58fe5a77933e3 /src/plugins/cvs | |
parent | 16ae1d732450ac5b741bb0f2f45c24ed1ae5c990 (diff) | |
download | qt-creator-9e5fc323ef17eb2204c83700a765dd4a59ad2b7c.tar.gz |
vcsbase: remove facility tool buttons in EditorParameterWidget
Because diff options are VCS-specific, these methods were removed :
VCSBaseEditorParameterWidget::addIgnoreWhiteSpaceButton()
VCSBaseEditorParameterWidget::addIgnoreBlankLinesButton()
Associated msg*Label() and msg*ToolTip()
This impacts cvs, hg, perforce, svn and bzr plugins
Change-Id: I8d213ed3915653b78bae9ba8b6cbbd65fa269ce2
Merge-request: 340
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/323
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/plugins/cvs')
-rw-r--r-- | src/plugins/cvs/cvsplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp index dcc002e202..e9e169f211 100644 --- a/src/plugins/cvs/cvsplugin.cpp +++ b/src/plugins/cvs/cvsplugin.cpp @@ -552,8 +552,8 @@ CvsDiffParameterWidget::CvsDiffParameterWidget(const CvsDiffParameters &p, QWidg VCSBase::VCSBaseEditorParameterWidget(parent), m_parameters(p) { setBaseArguments(p.arguments); - addIgnoreWhiteSpaceButton(QLatin1String("-w")); - addIgnoreBlankLinesButton(QLatin1String("-B")); + addToggleButton(QLatin1String("-w"), tr("Ignore whitespace")); + addToggleButton(QLatin1String("-B"), tr("Ignore blank lines")); connect(this, SIGNAL(argumentsChanged()), this, SLOT(triggerReRun())); } |