refactor: fix some spelling mistakes (#6196)

This commit is contained in:
pajlada
2025-05-10 13:33:52 +02:00
committed by GitHub
parent dd85fb09ad
commit dec42b38a6
16 changed files with 60 additions and 59 deletions
+2 -2
View File
@@ -15,11 +15,11 @@ public:
{
if (this->vertical_)
{
this->setScaleIndependantWidth(8);
this->setScaleIndependentWidth(8);
}
else
{
this->setScaleIndependantHeight(8);
this->setScaleIndependentHeight(8);
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ OverlayInteraction::OverlayInteraction(OverlayWindow *parent)
this->interactAnimation_.setEndValue(1.0);
this->closeButton_.setButtonStyle(TitleBarButtonStyle::Close);
this->closeButton_.setScaleIndependantSize(46, 30);
this->closeButton_.setScaleIndependentSize(46, 30);
this->closeButton_.hide();
this->closeButton_.setCursor(Qt::PointingHandCursor);
}
+6 -6
View File
@@ -82,16 +82,16 @@ void TitleBarButtons::updateMaxButton()
void TitleBarButtons::setSmallSize()
{
this->minButton_->setScaleIndependantSize(30, 30);
this->maxButton_->setScaleIndependantSize(30, 30);
this->closeButton_->setScaleIndependantSize(30, 30);
this->minButton_->setScaleIndependentSize(30, 30);
this->maxButton_->setScaleIndependentSize(30, 30);
this->closeButton_->setScaleIndependentSize(30, 30);
}
void TitleBarButtons::setRegularSize()
{
this->minButton_->setScaleIndependantSize(46, 30);
this->maxButton_->setScaleIndependantSize(46, 30);
this->closeButton_->setScaleIndependantSize(46, 30);
this->minButton_->setScaleIndependentSize(46, 30);
this->maxButton_->setScaleIndependentSize(46, 30);
this->closeButton_->setScaleIndependentSize(46, 30);
}
TitleBarButton *TitleBarButtons::buttonForHt(size_t ht) const