diff --git a/src/frontends/qt4/QPrefsDialog.C b/src/frontends/qt4/QPrefsDialog.C index 89ba000ed1..9c51634b78 100644 --- a/src/frontends/qt4/QPrefsDialog.C +++ b/src/frontends/qt4/QPrefsDialog.C @@ -184,7 +184,7 @@ PrefAscii::PrefAscii(QWidget * parent) { setupUi(this); connect(asciiLinelengthSB, SIGNAL(valueChanged(int)), - this, SIGNAL(changed)); + this, SIGNAL(changed())); connect(asciiRoffED, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); } @@ -283,7 +283,7 @@ QString PrefKeyboard::testKeymap(QString keymap) } -void PrefKeyboard::on_firstKeymapED_clicked() +void PrefKeyboard::on_firstKeymapPB_clicked(bool) { QString file = testKeymap(firstKeymapED->text()); if (!file.isEmpty()) @@ -291,7 +291,7 @@ void PrefKeyboard::on_firstKeymapED_clicked() } -void PrefKeyboard::on_secondKeymapED_clicked() +void PrefKeyboard::on_secondKeymapPB_clicked(bool) { QString file = testKeymap(secondKeymapED->text()); if (!file.isEmpty()) diff --git a/src/frontends/qt4/QPrefsDialog.h b/src/frontends/qt4/QPrefsDialog.h index 53cbb29274..f4958f82c5 100644 --- a/src/frontends/qt4/QPrefsDialog.h +++ b/src/frontends/qt4/QPrefsDialog.h @@ -122,8 +122,8 @@ public: virtual void update(LyXRC const & rc); private slots: - void on_firstKeymapED_clicked(); - void on_secondKeymapED_clicked(); + void on_firstKeymapPB_clicked(bool); + void on_secondKeymapPB_clicked(bool); private: QString testKeymap(QString keymap);