瀏覽代碼

Drag and drop

George King 8 月之前
父節點
當前提交
97b1a00285
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mapeditor/mainwindow.h

+ 3 - 0
mapeditor/mainwindow.h

@@ -206,4 +206,7 @@ private:
 
 	// command line options
 	QString mapFilePath;			// FilePath to the H3 or VCMI map to open
+
+	void dragEnterEvent(QDragEnterEvent* event) override;
+	void dropEvent(QDropEvent* event) override;
 };