]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QCitationDialog.C
Strip trailing whitespace.
[lyx.git] / src / frontends / qt2 / QCitationDialog.C
index 07cc5ae193eb84de8d3a706cb709cbfc8cff8dd2..8b6588309de6c3fecce57faa879b7a9d2dcda181 100644 (file)
@@ -10,9 +10,6 @@
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include <algorithm>
 
@@ -311,5 +308,5 @@ void QCitationDialog::doFind(biblio::Direction dir)
        int const top = max(found - 5, 1);
        bibLB->setTopItem(top);
        bibLB->setSelected(found, true);
-       slotBibHighlighted(0);
+       slotBibHighlighted(found);
 }