From 35357c122576a061f9ec0b9364d6dbaec49ef91c Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 11 Jan 2015 20:09:04 +0100 Subject: [PATCH] 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') --- src/frontends/qt4/GuiPrefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); -- 2.39.2