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/trunk@10560 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-10-19 15:07:36 +00:00
parent 7f31131552
commit 52c945af74
2 changed files with 7 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-10-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* QLyXKeySym.C (initEncodings): prevent crash when no codec found

View File

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