diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-01-28 23:32:23 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-01-29 11:05:13 +0100 |
commit | aa6dd83e0895f48ae650d12349ad9e265d95bbfc (patch) | |
tree | 09cf9e88d917d7991d88a7672d278bfde53acd95 /src/plugins/git/gitsubmiteditorwidget.cpp | |
parent | 25ddacc23885e4455433ca24873dbceab658e99a (diff) |
Git: Replace bool argument with flags
For a start, it's a single flag. Will be extended.
Also change the default for includeRemotes to false (most callers pass false)
Change-Id: I969f89a06b85a42c134c0232d2947d58fe19ea0d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gitsubmiteditorwidget.cpp')
-rw-r--r-- | src/plugins/git/gitsubmiteditorwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitsubmiteditorwidget.cpp b/src/plugins/git/gitsubmiteditorwidget.cpp index 3102bd270a..7ff630baa4 100644 --- a/src/plugins/git/gitsubmiteditorwidget.cpp +++ b/src/plugins/git/gitsubmiteditorwidget.cpp @@ -98,7 +98,7 @@ void GitSubmitEditorWidget::initialize(CommitType commitType, QVBoxLayout *logChangeLayout = new QVBoxLayout; logChangeGroupBox->setLayout(logChangeLayout); m_logChangeWidget = new LogChangeWidget; - m_logChangeWidget->init(repository, QString(), false); + m_logChangeWidget->init(repository); connect(m_logChangeWidget, SIGNAL(doubleClicked(QString)), this, SIGNAL(show(QString))); logChangeLayout->addWidget(m_logChangeWidget); insertTopWidget(logChangeGroupBox); @@ -121,7 +121,7 @@ void GitSubmitEditorWidget::initialize(CommitType commitType, void GitSubmitEditorWidget::refreshLog(const QString &repository) { if (m_logChangeWidget) - m_logChangeWidget->init(repository, QString(), false); + m_logChangeWidget->init(repository); } GitSubmitEditorPanelData GitSubmitEditorWidget::panelData() const |