mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
bug fixes & replace idevice_get_device_version with get_device_version
This commit is contained in:
@@ -136,7 +136,7 @@ QString DeviceImageWidget::getMockupNameFromDisplayName(
|
||||
|
||||
int DeviceImageWidget::getIosVersionFromDevice() const
|
||||
{
|
||||
unsigned int version = idevice_get_device_version(m_device->device);
|
||||
unsigned int version = get_device_version(m_device->device);
|
||||
|
||||
if (version > 0) {
|
||||
int majorVersion = (version >> 16) & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user