]> git.lyx.org Git - features.git/commitdiff
Fix preferences panel.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 11 Jan 2015 19:09:04 +0000 (20:09 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 11 Jan 2015 19:11:40 +0000 (20:11 +0100)
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

index 937d9303b6ac1175d93efd5720141ab949412bc3..01f24321ccc5f54bb975777cd9a08ed45fe144f8 100644 (file)
@@ -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()));