]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiRef.cpp
Amend f441590c
[lyx.git] / src / frontends / qt4 / GuiRef.cpp
index c0e6842c36d768491a6495a21c690cf89ec41cd9..1150d586b20efd01204755a944abd551d4f4c3f6 100644 (file)
@@ -61,9 +61,9 @@ GuiRef::GuiRef(GuiView & lv)
                this, SLOT(changed_adaptor()));
        connect(referenceED, SIGNAL(textChanged(QString)),
                this, SLOT(changed_adaptor()));
-       connect(findLE, SIGNAL(textEdited(QString)), 
+       connect(findLE, SIGNAL(textEdited(QString)),
                this, SLOT(filterLabels()));
-       connect(csFindCB, SIGNAL(clicked()), 
+       connect(csFindCB, SIGNAL(clicked()),
                this, SLOT(filterLabels()));
        connect(nameED, SIGNAL(textChanged(QString)),
                this, SLOT(changed_adaptor()));
@@ -386,7 +386,7 @@ void GuiRef::redoRefs()
                        qSort(refsStrings.begin(), refsStrings.end(),
                              caseInsensitiveLessThan /*defined above*/);
        }
-       
+
        if (groupCB->isChecked()) {
                QList<QTreeWidgetItem *> refsCats;
                for (int i = 0; i < refsCategories.size(); ++i) {
@@ -428,7 +428,7 @@ void GuiRef::redoRefs()
                QTreeWidgetItemIterator it(refsTW);
                while (*it) {
                        if ((*it)->text(0) == textToFind) {
-                               refsTW->setCurrentItem(*it);
+                               refsTW->setCurrentItem(*it);
                                refsTW->setItemSelected(*it, !newInset);
                                //Make sure selected item is visible
                                refsTW->scrollToItem(*it);