use in-class initialization

wilder-pre-rebase
Hugo Pereira Da Costa 11 years ago
parent 77f2667336
commit 5ef5740435
  1. 5
      windec/kdecoration2/breezesizegrip.cpp
  2. 2
      windec/kdecoration2/breezesizegrip.h

@ -42,11 +42,6 @@ namespace Breeze
//_____________________________________________
SizeGrip::SizeGrip( Decoration* decoration ):QWidget(nullptr)
,m_decoration( decoration )
#if BREEZE_HAVE_X11
,m_moveResizeAtom( 0 )
#endif
{
setAttribute(Qt::WA_NoSystemBackground );

@ -89,7 +89,7 @@ namespace Breeze
//* move/resize atom
#if BREEZE_HAVE_X11
xcb_atom_t m_moveResizeAtom;
xcb_atom_t m_moveResizeAtom = 0;
#endif
};

Loading…
Cancel
Save