src/mainwindow.h

changeset 1031
55c0d3beea0d
parent 1024
67ba0ee049eb
child 1043
0091a761daf2
--- a/src/mainwindow.h	Wed Feb 17 03:24:07 2016 +0200
+++ b/src/mainwindow.h	Wed Feb 17 19:54:21 2016 +0200
@@ -58,15 +58,6 @@
 	QToolButton* m_toolButton;
 };
 
-// Object list class for MainWindow
-class ObjectList : public QListWidget
-{
-	Q_OBJECT
-
-protected:
-	void contextMenuEvent (QContextMenuEvent* ev);
-};
-
 // LDForge's main GUI class.
 class MainWindow : public QMainWindow
 {
@@ -112,7 +103,7 @@
 	void scrollToSelection();
 	const LDObjectList& selectedObjects();
 	void setQuickColors (const QList<ColorToolbarItem>& colors);
-	void spawnContextMenu (const QPoint pos);
+	void spawnContextMenu (const QPoint& position);
 	int suggestInsertPoint();
 	void syncSettings();
 	Q_SLOT void updateActions();

mercurial