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()
|
||||
|
|
|
@ -235,22 +235,6 @@ p, li { white-space: pre-wrap; }
|
|||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>getUIDbutton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>DiveShareExportDialog</receiver>
|
||||
<slot>UIDFromBrowser()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>223</x>
|
||||
<y>29</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>159</x>
|
||||
<y>215</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>doUploadButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
|
|
Loading…
Add table
Reference in a new issue