From 1eff94aead09a68e13faa0cc970adaa53fe48a8d Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Mon, 24 Sep 2018 04:50:47 +0200 Subject: [PATCH] Remove indirect virtual call from constructor in FToggleButton::FToggleButton --- README.md | 4 ++++ src/fswitch.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a11594f2..14ee969d 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,10 @@ License ------- GNU Lesser General Public License Version 3 +First steps +----------- +[How to use the library](doc/first-steps.md) + Please send bug reports to -------------------------- https://github.com/gansm/finalcut/issues diff --git a/src/fswitch.cpp b/src/fswitch.cpp index 0724ae74..792d573a 100644 --- a/src/fswitch.cpp +++ b/src/fswitch.cpp @@ -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) , switch_offset_pos(0) , button_pressed(false)