r13896 by jghali - #8369, after deleting page containing inline frame, frame remains and scribus crashes on exit : first part, fix the crash, frame still remains in FrameItems list
scribus-commit
scribus-commit at lists.scribus.net
Wed Aug 26 05:52:10 CEST 2009
Revision: 13896
Author: jghali
Date: 2009-08-21T23:03:30.320659Z
Commit message: #8369, after deleting page containing inline frame, frame remains and scribus crashes on exit : first part, fix the crash, frame still remains in FrameItems list
Changeset:
M /trunk/Scribus/scribus/sctextstruct.cpp
Diffs:
Index: scribus/sctextstruct.cpp
===================================================================
--- scribus/sctextstruct.cpp (revision 13895)
+++ scribus/sctextstruct.cpp (revision 13896)
@@ -7,6 +7,7 @@
#include <QObject>
#include <QList>
+#include <QPointer>
#include "sctextstruct.h"
#include "scfonts.h"
#include "pageitem.h"
@@ -15,7 +16,7 @@
struct InlineFrameData
{
- PageItem* item;
+ QPointer<PageItem> item;
int refs;
void reserve()
More information about the scribus-commit
mailing list