Fix preferences panel.

This commit fixes a thinko in [8bab2338/lyxgit] causing the warning:
QObject::connect: No such slot lyx::frontend::GuiPreferences::slotApplyRC() in ../../../../src/frontends/qt4/GuiPrefs.cpp:3308
QObject::connect:  (sender name:   'applyPB')
QObject::connect:  (receiver name: 'PrefsUi')
This commit is contained in:
Enrico Forestieri 2015-01-11 20:09:04 +01:00
parent eb121f9993
commit 35357c1225

View File

@ -3305,7 +3305,7 @@ GuiPreferences::GuiPreferences(GuiView & lv)
QDialog::setModal(false); QDialog::setModal(false);
connect(savePB, SIGNAL(clicked()), this, SLOT(slotOK())); connect(savePB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(applyPB, SIGNAL(clicked()), this, SLOT(slotApplyRC())); connect(applyPB, SIGNAL(clicked()), this, SLOT(slotApply()));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose())); connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
connect(restorePB, SIGNAL(clicked()), this, SLOT(slotRestore())); connect(restorePB, SIGNAL(clicked()), this, SLOT(slotRestore()));