src/mainwindow.h

changeset 1185
c2e0db52ea07
parent 1162
94e12806d741
child 1192
317f4ce38f3f
--- a/src/mainwindow.h	Sun Mar 05 01:57:56 2017 +0200
+++ b/src/mainwindow.h	Sun Mar 05 13:33:37 2017 +0200
@@ -27,6 +27,7 @@
 #include "linetypes/modelobject.h"
 #include "colors.h"
 #include "doublemap.h"
+#include "types/resourcevector.h"
 
 class MessageManager;
 class QToolButton;
@@ -156,7 +157,7 @@
 	QVector<LDObject*> m_sel;
 	QVector<ColorToolbarItem>	m_quickColors;
 	QList<QToolButton*>	m_colorButtons;
-	QList<QAction*> m_recentFiles;
+	ResourceVector<QAction> m_recentFiles;
 	class Ui_MainWindow& ui;
 	QTabBar* m_tabs;
 	bool m_updatingTabs;

mercurial