aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/logchangedialog.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-10-16 06:10:44 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-10-16 09:01:08 +0200
commita5c970bea27638b69d118a241439fbf31a003e91 (patch)
tree3d9be05a5ea4cff7da5381e86e52ddc1ab4cef76 /src/plugins/git/logchangedialog.cpp
parenta918b4786921c39ce03598deeb7a65713e502422 (diff)
Git: Rename widget member to m_widget
Follow coding style Change-Id: I9583cdfc7ec32140614beb8684d3f15344fa7135 Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Diffstat (limited to 'src/plugins/git/logchangedialog.cpp')
-rw-r--r--src/plugins/git/logchangedialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/git/logchangedialog.cpp b/src/plugins/git/logchangedialog.cpp
index f96cb5b137..e09e5267f7 100644
--- a/src/plugins/git/logchangedialog.cpp
+++ b/src/plugins/git/logchangedialog.cpp
@@ -166,13 +166,13 @@ const QStandardItem *LogChangeWidget::currentItem(int column) const
LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent) :
QDialog(parent)
- , widget(new LogChangeWidget)
+ , m_widget(new LogChangeWidget)
, m_dialogButtonBox(new QDialogButtonBox(this))
, m_resetTypeComboBox(0)
{
QVBoxLayout *layout = new QVBoxLayout(this);
layout->addWidget(new QLabel(isReset ? tr("Reset to:") : tr("Select change:"), this));
- layout->addWidget(widget);
+ layout->addWidget(m_widget);
QHBoxLayout *popUpLayout = new QHBoxLayout;
if (isReset) {
popUpLayout->addWidget(new QLabel(tr("Reset type:"), this));
@@ -195,7 +195,7 @@ LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent) :
connect(m_dialogButtonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(m_dialogButtonBox, SIGNAL(rejected()), this, SLOT(reject()));
- connect(widget, SIGNAL(doubleClicked(QModelIndex)), okButton, SLOT(animateClick()));
+ connect(m_widget, SIGNAL(doubleClicked(QModelIndex)), okButton, SLOT(animateClick()));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
resize(600, 400);
@@ -203,7 +203,7 @@ LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent) :
bool LogChangeDialog::runDialog(const QString &repository, const QString &commit, bool includeRemote)
{
- if (!widget->init(repository, commit, includeRemote))
+ if (!m_widget->init(repository, commit, includeRemote))
return false;
if (QDialog::exec() == QDialog::Accepted) {
@@ -219,12 +219,12 @@ bool LogChangeDialog::runDialog(const QString &repository, const QString &commit
QString LogChangeDialog::commit() const
{
- return widget->commit();
+ return m_widget->commit();
}
int LogChangeDialog::commitIndex() const
{
- return widget->commitIndex();
+ return m_widget->commitIndex();
}
QString LogChangeDialog::resetFlag() const