diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 7f7c7774d..3935a1a1c 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -163,13 +163,6 @@ void DownloadFromDCWidget::DC##num##Clicked() \ productModel.setStringList(productList[qPrefDiveComputer::vendor##num()]); \ ui.product->setCurrentIndex(ui.product->findText(qPrefDiveComputer::product##num())); \ ui.device->setCurrentIndex(deviceIndex(qPrefDiveComputer::device##num())); \ - if (QSysInfo::kernelType() == "darwin") { \ - /* it makes no sense that this would be needed on macOS but not Linux */ \ - QCoreApplication::processEvents(); \ - ui.vendor->update(); \ - ui.product->update(); \ - ui.device->update(); \ - } \ } #endif