From 3373aa588cbd2d2e463dd1369cbdb4316764ee21 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Thu, 19 Feb 2009 19:41:41 +0000 Subject: [PATCH] Cosmetics. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28562 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiRef.cpp | 6 +++--- src/frontends/qt4/GuiRef.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiRef.cpp b/src/frontends/qt4/GuiRef.cpp index e685d00920..d344ab64fa 100644 --- a/src/frontends/qt4/GuiRef.cpp +++ b/src/frontends/qt4/GuiRef.cpp @@ -78,8 +78,8 @@ GuiRef::GuiRef(GuiView & lv) this, SLOT(selectionChanged())); connect(refsLW, SIGNAL(itemActivated(QListWidgetItem *)), this, SLOT(refSelected(QListWidgetItem *))); - connect(sortCB, SIGNAL(clicked(bool)), - this, SLOT(sortToggled(bool))); + connect(sortCB, SIGNAL(clicked()), + this, SLOT(sortToggled())); connect(gotoPB, SIGNAL(clicked()), this, SLOT(gotoClicked())); connect(updatePB, SIGNAL(clicked()), @@ -169,7 +169,7 @@ void GuiRef::refSelected(QListWidgetItem * sel) } -void GuiRef::sortToggled(bool on) +void GuiRef::sortToggled() { redoRefs(); } diff --git a/src/frontends/qt4/GuiRef.h b/src/frontends/qt4/GuiRef.h index 4cece7e91f..d349087510 100644 --- a/src/frontends/qt4/GuiRef.h +++ b/src/frontends/qt4/GuiRef.h @@ -37,7 +37,7 @@ private Q_SLOTS: void refHighlighted(QListWidgetItem *); void selectionChanged(); void refSelected(QListWidgetItem *); - void sortToggled(bool); + void sortToggled(); void updateClicked(); void reset_dialog(); void dialog_rejected();