diff --git a/desktop-widgets/diveshareexportdialog.cpp b/desktop-widgets/diveshareexportdialog.cpp
index 2f41dffea..1b6ff460d 100644
--- a/desktop-widgets/diveshareexportdialog.cpp
+++ b/desktop-widgets/diveshareexportdialog.cpp
@@ -18,6 +18,8 @@ DiveShareExportDialog::DiveShareExportDialog(QWidget *parent) :
exportSelected(false)
{
ui->setupUi(this);
+ // creating this connection in the .ui file appears to fail with Qt6
+ connect(ui->getUIDbutton, &QPushButton::clicked, this, &DiveShareExportDialog::UIDFromBrowser);
}
DiveShareExportDialog::~DiveShareExportDialog()
diff --git a/desktop-widgets/diveshareexportdialog.ui b/desktop-widgets/diveshareexportdialog.ui
index 2235740c8..4ac993fa4 100644
--- a/desktop-widgets/diveshareexportdialog.ui
+++ b/desktop-widgets/diveshareexportdialog.ui
@@ -235,22 +235,6 @@ p, li { white-space: pre-wrap; }
-
- getUIDbutton
- clicked()
- DiveShareExportDialog
- UIDFromBrowser()
-
-
- 223
- 29
-
-
- 159
- 215
-
-
-
doUploadButton
clicked()