aboutsummaryrefslogtreecommitdiff
path: root/src/about/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/about/aboutdialog.cpp')
-rw-r--r--src/about/aboutdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/about/aboutdialog.cpp b/src/about/aboutdialog.cpp
index 059e3bf..6fa4127 100644
--- a/src/about/aboutdialog.cpp
+++ b/src/about/aboutdialog.cpp
@@ -27,7 +27,9 @@ AboutDialog::AboutDialog(QWidget *parent)
: QDialog(parent)
, ui(new Ui::AboutDialog)
{
- setAttribute(Qt::WA_DeleteOnClose, true);
+ // This causes a double-free in the destructor
+ //setAttribute(Qt::WA_DeleteOnClose, true);
+
ui->setupUi(this);
constexpr auto icon_svg = logos::get([] { return std::string_view("poi_window.svg"); });