summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-06 10:00:07 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-06 10:00:07 (GMT)
commit2bfc35aebd04a6fa969b8909bbc7d06cef3821c4 (patch)
treee917f503568ad3206f12304ca7fda04b5502af8f /Swift/QtUI/ContextMenus
parent5e87304f8e31adeddcba41879057093e65047493 (diff)
downloadswift-contrib-2bfc35aebd04a6fa969b8909bbc7d06cef3821c4.zip
swift-contrib-2bfc35aebd04a6fa969b8909bbc7d06cef3821c4.tar.bz2
Fix compilation.
Diffstat (limited to 'Swift/QtUI/ContextMenus')
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.cpp8
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.h (renamed from Swift/QtUI/ContextMenus/QtContextmenu.h)2
2 files changed, 10 insertions, 0 deletions
diff --git a/Swift/QtUI/ContextMenus/QtContextMenu.cpp b/Swift/QtUI/ContextMenus/QtContextMenu.cpp
new file mode 100644
index 0000000..12bc80e
--- /dev/null
+++ b/Swift/QtUI/ContextMenus/QtContextMenu.cpp
@@ -0,0 +1,8 @@
+#include "ContextMenus/QtContextMenu.h"
+
+namespace Swift {
+
+QtContextMenu::~QtContextMenu() {
+}
+
+}
diff --git a/Swift/QtUI/ContextMenus/QtContextmenu.h b/Swift/QtUI/ContextMenus/QtContextMenu.h
index cc0227d..04c6acb 100644
--- a/Swift/QtUI/ContextMenus/QtContextmenu.h
+++ b/Swift/QtUI/ContextMenus/QtContextMenu.h
@@ -4,6 +4,8 @@ namespace Swift {
class QtTreeWidgetItem;
class QtContextMenu {
public:
+ virtual ~QtContextMenu();
+
virtual void show(QtTreeWidgetItem* item) = 0;
};
}