diff --git a/Status.15x b/Status.15x index 1e4c71755a..f3da962966 100644 --- a/Status.15x +++ b/Status.15x @@ -24,8 +24,6 @@ GENERAL * Resolve compiler warnings - especially this one: src/frontends/qt4/QPrefsDialog.C:944: warning: unused parameter 'nr' - * Watch for bugzilla.lyx.org entries * Open bugs: http://tinyurl.com/y7hdzc @@ -669,3 +667,6 @@ e C:\cygwin\home\ms\lyx-trunk\src\support\filename.C:48 FIXED (2007-01-07 JSpitzm). +* Resolve compiler warnings + src/frontends/qt4/QPrefsDialog.C:944: warning: unused parameter 'nr' + FIXED (2007-01-07 Bo) diff --git a/src/frontends/qt4/QPrefsDialog.C b/src/frontends/qt4/QPrefsDialog.C index 7b64aee28b..0dafd89134 100644 --- a/src/frontends/qt4/QPrefsDialog.C +++ b/src/frontends/qt4/QPrefsDialog.C @@ -864,7 +864,7 @@ PrefConverters::PrefConverters(QPrefs * form, QWidget * parent) connect(converterModifyPB, SIGNAL(clicked()), this, SLOT(update_converter())); connect(convertersLW, SIGNAL(currentRowChanged(int)), - this, SLOT(switch_converter(int))); + this, SLOT(switch_converter())); connect(converterFromCO, SIGNAL(activated(const QString&)), this, SLOT(converter_changed())); connect(converterToCO, SIGNAL(activated(const QString&)), @@ -910,7 +910,7 @@ void PrefConverters::updateGui() } // currentRowChanged(int) is also triggered when updating the listwidget - // block signals to avoid unnecessary calls to switch_converter(int nr) + // block signals to avoid unnecessary calls to switch_converter() convertersLW->blockSignals(true); convertersLW->clear(); @@ -941,7 +941,7 @@ void PrefConverters::updateGui() } -void PrefConverters::switch_converter(int nr) +void PrefConverters::switch_converter() { int const cnr = convertersLW->currentItem()->type(); Converter const & c(form_->converters().get(cnr)); diff --git a/src/frontends/qt4/QPrefsDialog.h b/src/frontends/qt4/QPrefsDialog.h index 532a4da0c4..bf6d3b5fce 100644 --- a/src/frontends/qt4/QPrefsDialog.h +++ b/src/frontends/qt4/QPrefsDialog.h @@ -254,7 +254,7 @@ public Q_SLOTS: private Q_SLOTS: void update_converter(); - void switch_converter(int); + void switch_converter(); void converter_changed(); void remove_converter();