fancy in-class initialization :)

wilder-pre-rebase
Hugo Pereira Da Costa 11 years ago
parent 7699059de2
commit 77f2667336
  1. 2
      windec/kdecoration2/breezebutton.cpp
  2. 2
      windec/kdecoration2/breezebutton.h
  3. 2
      windec/kdecoration2/breezedecoration.h

@ -32,7 +32,6 @@ namespace Breeze
Button::Button(KDecoration2::DecorationButtonType type, Decoration* decoration, QObject* parent)
: DecorationButton(type, decoration, parent)
, m_animation( new QPropertyAnimation( this ) )
, m_opacity(0)
{
// setup animation
@ -62,7 +61,6 @@ namespace Breeze
: DecorationButton(args.at(0).value<KDecoration2::DecorationButtonType>(), args.at(1).value<Decoration*>(), parent)
, m_standalone(true)
, m_animation( new QPropertyAnimation( this ) )
, m_opacity(0)
{}
//__________________________________________________________________

@ -92,7 +92,7 @@ namespace Breeze
QPropertyAnimation *m_animation;
//* active state change opacity
qreal m_opacity;
qreal m_opacity = 0;
};
} // namespace

@ -136,7 +136,7 @@ namespace Breeze
QPropertyAnimation *m_animation;
//* active state change opacity
qreal m_opacity;
qreal m_opacity = 0;
};

Loading…
Cancel
Save