Skip to content

Commit

Permalink
Rewrite SetupDialog option to current master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Veratil committed Aug 12, 2019
1 parent 882f796 commit b316b41
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/gui/SetupDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit b316b41

Please sign in to comment.