mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend 3971b1b35e
, also fix warnings for older compilers
This commit is contained in:
parent
e29896d93d
commit
d3ca28b468
@ -113,7 +113,7 @@ GuiBibtex::GuiBibtex(GuiView & lv)
|
||||
availableLV, SLOT(setFocus()));
|
||||
#else
|
||||
connect(filter_, &FancyLineEdit::downPressed,
|
||||
availableLV, [=, this](){ focusAndHighlight(availableLV); });
|
||||
availableLV, [this](){ focusAndHighlight(availableLV); });
|
||||
#endif
|
||||
|
||||
availableLV->setToolTip(formatToolTip(qt_("This list consists of all databases that are indexed by LaTeX and thus are found without a file path. "
|
||||
|
@ -157,7 +157,7 @@ GuiCitation::GuiCitation(GuiView & lv)
|
||||
availableLV, SLOT(setFocus()));
|
||||
#else
|
||||
connect(filter_, &FancyLineEdit::downPressed,
|
||||
availableLV, [=, this](){ focusAndHighlight(availableLV); });
|
||||
availableLV, [this](){ focusAndHighlight(availableLV); });
|
||||
#endif
|
||||
connect(regexp_, SIGNAL(triggered()),
|
||||
this, SLOT(regexChanged()));
|
||||
|
@ -1673,7 +1673,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
modulesModule->availableLV, SLOT(setFocus()));
|
||||
#else
|
||||
connect(filter_, &FancyLineEdit::downPressed,
|
||||
modulesModule->availableLV, [=, this](){ focusAndHighlight(modulesModule->availableLV); });
|
||||
modulesModule->availableLV, [this](){ focusAndHighlight(modulesModule->availableLV); });
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -197,7 +197,7 @@ GuiLyXFiles::GuiLyXFiles(GuiView & lv)
|
||||
filesLW, SLOT(setFocus()));
|
||||
#else
|
||||
connect(filter_, &FancyLineEdit::downPressed,
|
||||
filesLW, [=, this](){ focusAndHighlight(filesLW); });
|
||||
filesLW, [this](){ focusAndHighlight(filesLW); });
|
||||
#endif
|
||||
|
||||
filterBarL->addWidget(filter_, 0);
|
||||
|
@ -67,7 +67,7 @@ GuiRef::GuiRef(GuiView & lv)
|
||||
refsTW, SLOT(setFocus()));
|
||||
#else
|
||||
connect(filter_, &FancyLineEdit::downPressed,
|
||||
refsTW, [=, this](){ focusAndHighlight(refsTW); });
|
||||
refsTW, [this](){ focusAndHighlight(refsTW); });
|
||||
#endif
|
||||
|
||||
filterBarL->addWidget(filter_, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user