Renamed private members

This commit is contained in:
fourtf
2018-07-06 19:23:47 +02:00
parent 6935619820
commit 280bb4cf8e
141 changed files with 1754 additions and 1861 deletions
+3 -3
View File
@@ -11,12 +11,12 @@ TitleBarButton::TitleBarButton()
TitleBarButton::Style TitleBarButton::getButtonStyle() const
{
return this->style;
return this->style_;
}
void TitleBarButton::setButtonStyle(Style _style)
{
this->style = _style;
this->style_ = _style;
this->update();
}
@@ -34,7 +34,7 @@ void TitleBarButton::paintEvent(QPaintEvent *event)
painter.setRenderHint(QPainter::Antialiasing, false);
switch (this->style) {
switch (this->style_) {
case Minimize: {
painter.fillRect(centerX - xD / 2, xD * 3 / 2, xD, 1, color);
break;