mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Fix source typo 'Hidding'
This commit is contained in:
committed by
Laurent Trinques
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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user