--- a/src/editHistory.h Sun Jun 01 03:15:36 2014 +0300 +++ b/src/editHistory.h Mon Jun 02 12:50:40 2014 +0300 @@ -40,9 +40,9 @@ // ============================================================================= class History { - PROPERTY (private, int, position, setPosition, STOCK_WRITE) - PROPERTY (public, LDDocument*, document, setDocument, STOCK_WRITE) - PROPERTY (public, bool, isIgnoring, setIgnoring, STOCK_WRITE) + PROPERTY (private, int, position, setPosition, STOCK_WRITE) + PROPERTY (public, LDDocumentWeakPtr, document, setDocument, STOCK_WRITE) + PROPERTY (public, bool, isIgnoring, setIgnoring, STOCK_WRITE) public: typedef QList<AbstractHistoryEntry*> Changeset;