Don't unlock QApplication's mutex as it leads to undefined behaviour (and crashes NetBSD).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10561 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-10-19 15:30:59 +00:00
parent cfc0e6d015
commit 08b521efbe
3 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2005-10-19 Angus Leeming <leeming@lyx.org>
* lyx_gui.C (LApplication d-tor): remove code to unlock
QApplication mutex as we didn't lock the thing in the
first place; undefined behaviour.
2005-09-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* QCitationDialog.C (find): correct start iterator when searching

View File

@ -121,12 +121,7 @@ LQApplication::LQApplication(int & argc, char ** argv)
LQApplication::~LQApplication()
{
#ifdef QT_THREAD_SUPPORT
if (locked())
unlock();
#endif
}
{}
#ifdef Q_OS_MAC

View File

@ -56,6 +56,9 @@ What's new
- Add key bindings for "primary-selection-paste"
- On exit, don't attempt to unlock a mutex in the Qt library --- it
causes undefined behaviour and leads to a crash on NetBSD.
* Configuration/Installation:
- Enable TeXFiles.sh to run when its path contains spaces.