diff options
author | cerf <[email protected]> | 2011-06-03 12:57:10 +0000 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2011-06-03 16:02:08 +0200 |
commit | 9e5fc323ef17eb2204c83700a765dd4a59ad2b7c (patch) | |
tree | 09afc8697afab8596242b9ff83e58fe5a77933e3 /src/plugins/cvs/cvsplugin.cpp | |
parent | 16ae1d732450ac5b741bb0f2f45c24ed1ae5c990 (diff) |
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 <[email protected]>
Reviewed-on: http://codereview.qt.nokia.com/323
Reviewed-by: Qt Sanity Bot <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-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 dcc002e2029..e9e169f211f 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())); } |