mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Remove Unneeded Special Case for MacOS.
Since the removal of this special case for MacOS was confirmed to be working in the case of building with bluetooth support in #4120, we should probably remove it from the code used when building without bluetooth support as well. Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
d49092ac70
commit
375b08857c
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue