Fix remote desktop restoring
DeviceTypes is QFlags, which doesn't really work with QVariant, causing the saved data to not be restored.
To fix this force it to uint when reading/writing
DeviceTypes is QFlags, which doesn't really work with QVariant, causing the saved data to not be restored.
To fix this force it to uint when reading/writing