This avoids the following Qt warnings when performing a reverse dvi search:
QSocketNotifier: Multiple socket notifiers for same socket 9 and type Read
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
occurring when using the lyxserver or the lyxclient, respectively.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24890
a592a061-630c-0410-9148-
cb99ea01b6c8
void GuiApplication::unregisterSocketCallback(int fd)
{
+ socket_notifiers_[fd]->setEnabled(false);
socket_notifiers_.erase(fd);
}