From af240da1b2d8e9e43fdb9b967191d6a0bf2490d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20H=C3=B6nig?= Date: Sun, 17 Mar 2024 22:38:25 +0100 Subject: [PATCH] Octovis: fix issue with saving not showing any dialog (#414) See https://stackoverflow.com/questions/31983412/code-freezes-on-trying-to-open-qdialog --- octovis/src/ViewerGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octovis/src/ViewerGui.cpp b/octovis/src/ViewerGui.cpp index 3943da7e..5fab2a0c 100644 --- a/octovis/src/ViewerGui.cpp +++ b/octovis/src/ViewerGui.cpp @@ -716,7 +716,7 @@ void ViewerGui::on_actionSave_file_triggered(){ } QString filename = QFileDialog::getSaveFileName(this, tr("Save octree file"), - "", tr("Full OcTree (*.ot);;Bonsai Tree file (*.bt);;")); + "", tr("Full OcTree (*.ot);;Bonsai Tree file (*.bt);;"), 0, QFileDialog::DontUseNativeDialog); if (filename != ""){ QApplication::setOverrideCursor(Qt::WaitCursor);