mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Guisearch Qt4 compatibility
This commit is contained in:
parent
d65e7a8c87
commit
b497baeea3
@ -162,7 +162,11 @@ void GuiSearchWidget::findBufferChanged()
|
||||
docstring search = theClipboard().getFindBuffer();
|
||||
if (!search.empty()) {
|
||||
LYXERR(Debug::CLIPBOARD, "from findbuffer: " << search);
|
||||
#if QT_VERSION > 0x050000
|
||||
findCO->setCurrentText(toqstr(search));
|
||||
#else
|
||||
findCO->setEditText(toqstr(search));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user