diff --git a/src/gui/SetupDialog.cpp b/src/gui/SetupDialog.cpp index 988980485df..715381105be 100644 --- a/src/gui/SetupDialog.cpp +++ b/src/gui/SetupDialog.cpp @@ -250,15 +250,8 @@ SetupDialog::SetupDialog( ConfigTabs _tab_to_open ) : m_disableBackup, SLOT(toggleDisableBackup(bool))); addLedCheckBox("Reopen last project on start", m_openLastProject, SLOT(toggleOpenLastProject(bool))); - - LedCheckBox * sideBarOnRight = new LedCheckBox( - tr( "Sidebar on right" ), - misc_tw ); - labelNumber++; - sideBarOnRight->move( XDelta, YDelta*labelNumber ); - sideBarOnRight->setChecked( m_sideBarOnRight ); - connect ( sideBarOnRight, SIGNAL( toggled( bool ) ), - this, SLOT( toggleSideBarOnRight( bool ) ) ); + addLedCheckBox("Show sidebar on the right-hand side", + m_sideBarOnRight, SLOT(toggleSideBarOnRight(bool))); misc_tw->setFixedHeight( YDelta*labelNumber + HeaderSize );