Selaa lähdekoodia

Drag and drop

George King 8 kuukautta sitten
vanhempi
sitoutus
97b1a00285
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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;
 };