mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Qt6: move connection into C++ source
This no longer compiles when defined in the .ui file. But functionally this should be the same and it should work on Qt5 and Qt6. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
63f0af201e
commit
5d506e4152
2 changed files with 2 additions and 16 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue