Remove redundant action when toggling the dashes check box.
This commit is contained in:
Enrico Forestieri 2017-03-27 15:08:30 +02:00
parent b6f8a84a35
commit 91ca310d1d
2 changed files with 0 additions and 10 deletions

View File

@ -840,8 +840,6 @@ GuiDocument::GuiDocument(GuiView & lv)
this, SLOT(change_adaptor()));
connect(fontModule->dashesCB, SIGNAL(clicked()),
this, SLOT(change_adaptor()));
connect(fontModule->dashesCB, SIGNAL(toggled(bool)),
this, SLOT(dashesToggled(bool)));
connect(fontModule->scaleSansSB, SIGNAL(valueChanged(int)),
this, SLOT(change_adaptor()));
connect(fontModule->scaleTypewriterSB, SIGNAL(valueChanged(int)),
@ -1938,13 +1936,6 @@ void GuiDocument::fontScToggled(bool state)
}
void GuiDocument::dashesToggled(bool state)
{
if (!fontModule->osFontsCB->isChecked())
fontModule->dashesCB->setChecked(state);
}
void GuiDocument::updateFontOptions()
{
bool const tex_fonts = !fontModule->osFontsCB->isChecked();

View File

@ -105,7 +105,6 @@ private Q_SLOTS:
void ttChanged(int);
void fontOsfToggled(bool state);
void fontScToggled(bool state);
void dashesToggled(bool state);
void setIndent(int);
void enableIndent(bool);
void setSkip(int);