From 2fc48ca94f7c0b77620123ee946ed5a6b1ed5d9c Mon Sep 17 00:00:00 2001 From: John Levon Date: Fri, 7 Feb 2003 16:49:20 +0000 Subject: [PATCH] fix bug 865 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6070 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 4 ++++ src/frontends/qt2/lyx_gui.C | 4 ++++ status.13x | 5 ++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 0bd7da7d53..2d3911e2fa 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2003-02-07 John Levon + + * lyx_gui.C: delete lyxserver pipes (bug 865) + 2003-02-07 Juergen Spitzmueller * QTabular.C (closeGUI): do not change if nothing has to diff --git a/src/frontends/qt2/lyx_gui.C b/src/frontends/qt2/lyx_gui.C index d5eca643e5..b9d4c7ae77 100644 --- a/src/frontends/qt2/lyx_gui.C +++ b/src/frontends/qt2/lyx_gui.C @@ -170,11 +170,15 @@ void lyx_gui::start(string const & batch, vector const & files) // FIXME delete lyxserver; + lyxserver = 0; } void lyx_gui::exit() { + delete lyxserver; + lyxserver = 0; + // we cannot call qApp->exit(0) - that could return us // into a static dialog return in the lyx code (for example, // load autosave file QMessageBox. We have to just get the hell diff --git a/status.13x b/status.13x index d611a88302..4239adef3a 100644 --- a/status.13x +++ b/status.13x @@ -30,7 +30,9 @@ What's new ** Bug fixes - fix bug where opening the tabular dialog would mark the document as - changed [bug #849, qt only] + changed [bug #849, Qt only] + +- delete lyxserver pipes on exit [bug #865, Qt only] - in the dialogs, replace LaTeX font size names by LyX names for consistency reasons and to resolve a translation conflict @@ -39,3 +41,4 @@ What's new - fix strerror() build problem with some gcc/glibc versions [bug #874] +lyx2lyx: enable the debug level to be set.