MSVC warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-03-18 10:36:16 +02:00
parent 511cc14400
commit 2bdfc59c21
2 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ FancyTab::FancyTab(QWidget *tabbar)
}
//---------------------------------------------------------------------------------------------------------------------
float FancyTab::fader()
double FancyTab::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_TabBar->update();

View File

@ -38,12 +38,12 @@ class FancyTab : public QObject
friend class FancyTabBar;
Q_OBJECT
Q_PROPERTY(float fader READ fader WRITE setFader)
Q_PROPERTY(double fader READ fader WRITE setFader)
public:
explicit FancyTab(QWidget *tabbar);
float fader();
void setFader(float value);
double fader();
void setFader(double value);
void fadeIn();
void fadeOut();
@ -56,7 +56,7 @@ private:
bool m_enabled;
QPropertyAnimation m_Animator;
QWidget *m_TabBar;
float m_Fader;
double m_Fader;
};
#endif // FANCYTAB_H