mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
* GuiApplication: explicitly clear out socket_callbacks_ in the destructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15325 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d37fae169c
commit
c5dd10f93e
@ -81,6 +81,13 @@ lyx::frontend::Application * createApplication(int & argc, char * argv[])
|
|||||||
|
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
|
|
||||||
|
GuiApplication::~GuiApplication()
|
||||||
|
{
|
||||||
|
socket_callbacks_.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
GuiApplication::GuiApplication(int & argc, char ** argv)
|
GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||||
: QApplication(argc, argv), Application(argc, argv)
|
: QApplication(argc, argv), Application(argc, argv)
|
||||||
{
|
{
|
||||||
|
@ -52,7 +52,7 @@ class GuiApplication : public QApplication, public Application
|
|||||||
public:
|
public:
|
||||||
GuiApplication(int & argc, char ** argv);
|
GuiApplication(int & argc, char ** argv);
|
||||||
///
|
///
|
||||||
virtual ~GuiApplication() {}
|
virtual ~GuiApplication();
|
||||||
|
|
||||||
/// Method inherited from \c Application class
|
/// Method inherited from \c Application class
|
||||||
//@{
|
//@{
|
||||||
|
Loading…
Reference in New Issue
Block a user