mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Fix source typo 'Hidding'
This commit is contained in:
parent
4caf5e0211
commit
6a4b250213
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user