From kde-commits Mon Feb 11 16:26:08 2002 From: Bradley T Hughes Date: Mon, 11 Feb 2002 16:26:08 +0000 To: kde-commits Subject: Re: qt-copy/src/kernel X-MARC-Message: https://marc.info/?l=kde-commits&m=101344482632047 On Monday 11 February 2002 17:17, Rik Hemsley wrote: > qt-copy/src/kernel qapplication.cpp,1.40,1.41 > Author: rikkus > Mon Feb 11 17:17:35 CET 2002 > In directory office:/tmp/cvs-serv6272 > > > Modified Files: > qapplication.cpp > Log Message: > - qt_cleanup(); > #ifndef QT_NO_STYLE > delete app_style; > app_style = 0; > #endif > + qt_cleanup(); > > Patch by mosfet + Maks. Sent to TT. This patch actually reverts a necesary fix made for 3.0.1. This is not the proper fix, and I'm currently looking for a better solution. The problem with calling qt_cleanup() after deleting the style is that the post routines (called from qt_cleanup()) sometimes access the style. -- -- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway