X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FGuiCitation.cpp;h=c5fa26631098b17c331d78b0fc71ea603b2b0c45;hb=29a8097c3c14aad871c7e396a59542fe47e39ea1;hp=4b5548803b4b288f8709b80d9a6eee16d4309e65;hpb=55da675efa725a37604988917f436bce058d1583;p=lyx.git diff --git a/src/frontends/qt/GuiCitation.cpp b/src/frontends/qt/GuiCitation.cpp index 4b5548803b..c5fa266310 100644 --- a/src/frontends/qt/GuiCitation.cpp +++ b/src/frontends/qt/GuiCitation.cpp @@ -153,13 +153,8 @@ GuiCitation::GuiCitation(GuiView & lv) this, SLOT(filterChanged(QString))); connect(filter_, SIGNAL(returnPressed()), this, SLOT(filterPressed())); -#if (QT_VERSION < 0x050000) - connect(filter_, SIGNAL(downPressed()), - availableLV, SLOT(setFocus())); -#else connect(filter_, &FancyLineEdit::downPressed, availableLV, [this](){ focusAndHighlight(availableLV); }); -#endif connect(regexp_, SIGNAL(triggered()), this, SLOT(regexChanged())); connect(casesense_, SIGNAL(triggered()), @@ -167,11 +162,7 @@ GuiCitation::GuiCitation(GuiView & lv) connect(instant_, SIGNAL(triggered(bool)), this, SLOT(instantChanged(bool))); -#if (QT_VERSION < 0x050000) - selectedLV->horizontalHeader()->setResizeMode(QHeaderView::Stretch); -#else selectedLV->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); -#endif selectedLV->setToolTip(qt_("Ordered list of all cited references.\n" "You can reorder, add and remove references with the buttons on the left."));