mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
Qt6: if we want the QString argument we need the TextChanged slot
I'm surprised this worked correctly in Qt5. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5d506e4152
commit
fc66352c3c
2 changed files with 4 additions and 4 deletions
|
@ -311,7 +311,7 @@ void DownloadFromDCWidget::updateState(states state)
|
|||
currentState = state;
|
||||
}
|
||||
|
||||
void DownloadFromDCWidget::on_vendor_currentIndexChanged(const QString &vendor)
|
||||
void DownloadFromDCWidget::on_vendor_currentTextChanged(const QString &vendor)
|
||||
{
|
||||
unsigned int transport;
|
||||
dc_descriptor_t *descriptor;
|
||||
|
@ -323,7 +323,7 @@ void DownloadFromDCWidget::on_vendor_currentIndexChanged(const QString &vendor)
|
|||
fill_device_list(transport);
|
||||
}
|
||||
|
||||
void DownloadFromDCWidget::on_product_currentIndexChanged(const QString &)
|
||||
void DownloadFromDCWidget::on_product_currentTextChanged(const QString &)
|
||||
{
|
||||
updateDeviceEnabled();
|
||||
}
|
||||
|
|
|
@ -42,8 +42,8 @@ slots:
|
|||
void on_ok_clicked();
|
||||
void on_cancel_clicked();
|
||||
void on_search_clicked();
|
||||
void on_vendor_currentIndexChanged(const QString &vendor);
|
||||
void on_product_currentIndexChanged(const QString &product);
|
||||
void on_vendor_currentTextChanged(const QString &vendor);
|
||||
void on_product_currentTextChanged(const QString &product);
|
||||
void on_device_currentTextChanged(const QString &device);
|
||||
|
||||
void onDownloadThreadFinished();
|
||||
|
|
Loading…
Reference in a new issue