From: Enrico Forestieri Date: Sun, 11 Jan 2015 19:09:04 +0000 (+0100) Subject: Fix preferences panel. X-Git-Tag: 2.2.0alpha1~1360 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=35357c122576a061f9ec0b9364d6dbaec49ef91c;p=features.git 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') --- diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 937d9303b6..01f24321cc 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -3305,7 +3305,7 @@ GuiPreferences::GuiPreferences(GuiView & lv) QDialog::setModal(false); 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(restorePB, SIGNAL(clicked()), this, SLOT(slotRestore()));