Commit 03054591 authored by Amish Naidu's avatar Amish Naidu
Browse files

Sublime: Rename private member of IdealButtonBarLayout for consistency

Renamed older member of the class to conform to modern style guidelines
and consistency with the newly added member.

Okayed on IRC by frinring
parent 24e2f759
......@@ -43,7 +43,7 @@ namespace
IdealButtonBarLayout::IdealButtonBarLayout(Qt::Orientation orientation, QWidget* styleParent)
: QBoxLayout(toDirection(orientation)) // creating a child layout, styleParent is only saved for style
, m_styleParentWidget(styleParent)
, _orientation(orientation)
, m_orientation(orientation)
{
if (m_styleParentWidget) {
m_styleParentWidget->installEventFilter(this);
......@@ -57,7 +57,7 @@ IdealButtonBarLayout::~IdealButtonBarLayout() = default;
Qt::Orientation IdealButtonBarLayout::orientation() const
{
return _orientation;
return m_orientation;
}
Qt::Orientations IdealButtonBarLayout::expandingDirections() const
......
......@@ -49,7 +49,7 @@ protected:
private:
QWidget* const m_styleParentWidget;
const Qt::Orientation _orientation;
const Qt::Orientation m_orientation;
};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment