MSVC warning.
--HG-- branch : develop
This commit is contained in:
parent
511cc14400
commit
2bdfc59c21
|
@ -46,7 +46,7 @@ FancyTab::FancyTab(QWidget *tabbar)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
float FancyTab::fader()
|
double FancyTab::fader()
|
||||||
{
|
{
|
||||||
return m_Fader;
|
return m_Fader;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ void FancyTab::fadeOut()
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void FancyTab::setFader(float value)
|
void FancyTab::setFader(double value)
|
||||||
{
|
{
|
||||||
m_Fader = value;
|
m_Fader = value;
|
||||||
m_TabBar->update();
|
m_TabBar->update();
|
||||||
|
|
|
@ -38,12 +38,12 @@ class FancyTab : public QObject
|
||||||
friend class FancyTabBar;
|
friend class FancyTabBar;
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
Q_PROPERTY(float fader READ fader WRITE setFader)
|
Q_PROPERTY(double fader READ fader WRITE setFader)
|
||||||
public:
|
public:
|
||||||
explicit FancyTab(QWidget *tabbar);
|
explicit FancyTab(QWidget *tabbar);
|
||||||
|
|
||||||
float fader();
|
double fader();
|
||||||
void setFader(float value);
|
void setFader(double value);
|
||||||
|
|
||||||
void fadeIn();
|
void fadeIn();
|
||||||
void fadeOut();
|
void fadeOut();
|
||||||
|
@ -56,7 +56,7 @@ private:
|
||||||
bool m_enabled;
|
bool m_enabled;
|
||||||
QPropertyAnimation m_Animator;
|
QPropertyAnimation m_Animator;
|
||||||
QWidget *m_TabBar;
|
QWidget *m_TabBar;
|
||||||
float m_Fader;
|
double m_Fader;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // FANCYTAB_H
|
#endif // FANCYTAB_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user