Remove setVisibleCursor() from the FToggleButton class constructor

This commit is contained in:
Markus Gans 2015-08-11 00:11:07 +02:00
parent 292469f5b5
commit df6636bf60
8 changed files with 9 additions and 10 deletions

View File

@ -34,6 +34,7 @@ void FCheckBox::init()
{ {
label_offset_pos = 4; label_offset_pos = 4;
button_width = 4; button_width = 4;
setVisibleCursor();
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View File

@ -35,6 +35,7 @@ void FRadioButton::init()
{ {
label_offset_pos = 4; label_offset_pos = 4;
button_width = 4; button_width = 4;
setVisibleCursor();
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View File

@ -65,9 +65,6 @@ void FToggleButton::init()
setGeometry (1, 1, 4, 1, false); // initialize geometry values setGeometry (1, 1, 4, 1, false); // initialize geometry values
if ( isRadioButton() || isCheckboxButton() )
setVisibleCursor();
if ( hasFocus() ) if ( hasFocus() )
this->flags = FOCUS; this->flags = FOCUS;