mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Fix bug #5758: Crash when closing the dosbox from which LyX was started
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from QWindowsMimeList::~QWindowsMimeList(). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29326 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8d97f1c6d2
commit
4e685e3565
@ -643,7 +643,13 @@ public:
|
||||
|
||||
struct GuiApplication::Private
|
||||
{
|
||||
Private(): language_model_(0), global_menubar_(0) {}
|
||||
Private(): language_model_(0), global_menubar_(0)
|
||||
{
|
||||
#ifdef Q_WS_WIN
|
||||
/// WMF Mime handler for Windows clipboard.
|
||||
wmf_mime_ = new QWindowsMimeMetafile();
|
||||
#endif
|
||||
}
|
||||
|
||||
///
|
||||
QSortFilterProxyModel * language_model_;
|
||||
@ -691,7 +697,7 @@ struct GuiApplication::Private
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
/// WMF Mime handler for Windows clipboard.
|
||||
QWindowsMimeMetafile wmf_mime_;
|
||||
QWindowsMimeMetafile * wmf_mime_;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user