mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Resolve compiler warning unused parameter nr in src/frontends/qt4/QPrefsDialog.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16591 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7f4f88f2f
commit
af5d8eabe7
@ -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)
|
||||
|
@ -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));
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user