src/editHistory.h

changeset 784
f82ab4d3c7b4
parent 768
29e6c5552388
child 789
4b7306f52bb5
--- 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;

mercurial