Remove indirect virtual call from constructor in FToggleButton::FToggleButton

This commit is contained in:
Markus Gans 2018-09-24 04:50:47 +02:00
parent 5f4fb835f3
commit 1eff94aead
2 changed files with 5 additions and 1 deletions

View File

@ -225,6 +225,10 @@ License
------- -------
GNU Lesser General Public License Version 3 GNU Lesser General Public License Version 3
First steps
-----------
[How to use the library](doc/first-steps.md)
Please send bug reports to Please send bug reports to
-------------------------- --------------------------
https://github.com/gansm/finalcut/issues https://github.com/gansm/finalcut/issues

View File

@ -40,7 +40,7 @@ FSwitch::FSwitch(FWidget* parent)
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
FSwitch::FSwitch ( const FString& txt, FWidget* parent ) FSwitch::FSwitch (const FString& txt, FWidget* parent)
: FToggleButton(txt, parent) : FToggleButton(txt, parent)
, switch_offset_pos(0) , switch_offset_pos(0)
, button_pressed(false) , button_pressed(false)