Ver Fonte

Fix compilation error

Joakim Thorén há 11 meses atrás
pai
commit
02a656d16f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      mapeditor/mainwindow.cpp

+ 1 - 1
mapeditor/mainwindow.cpp

@@ -479,7 +479,7 @@ void MainWindow::on_actionOpenRecent_triggered()
 		QListWidget listWidget;
 	};
 
-	RecentFileDialog d(this, recentFiles);
+	RecentFileDialog d(recentFiles, this);
 
 	auto onSelect = [this, &d](QListWidgetItem *item) {
 		if(getAnswerAboutUnsavedChanges()) {