Fix source typo 'Hidding'

This commit is contained in:
luz paz 2022-12-06 06:10:35 -05:00 committed by Laurent Trinques
parent 4caf5e0211
commit 6a4b250213
2 changed files with 4 additions and 4 deletions

View File

@ -135,7 +135,7 @@ void QWidgetAnimation::show()
*/
void QWidgetAnimation::hide()
{
if (m_state == QWidgetAnimation::Hidding)
if (m_state == QWidgetAnimation::Hiding)
return;
if (m_state == Finish && m_widget->isVisible()) {
@ -148,7 +148,7 @@ void QWidgetAnimation::hide()
: m_widget->height();
setStartValue(start_value);
setEndValue(0);
m_state = QWidgetAnimation::Hidding;
m_state = QWidgetAnimation::Hiding;
start();
}

View File

@ -1,4 +1,4 @@
/*
/*
Copyright 2006-2021 The QElectroTech Team
This file is part of QElectroTech.
@ -69,7 +69,7 @@ class QWidgetAnimation : public QPropertyAnimation
private:
enum currentState {
Showing,
Hidding,
Hiding,
Finish
};