[gnome-boxes] vm-configurator: Don't check for QXL support
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] vm-configurator: Don't check for QXL support
- Date: Thu, 14 Jul 2016 17:33:17 +0000 (UTC)
commit 82be33dc3fe74fe8da9735781f3784edebe9726f
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Jul 14 18:28:29 2016 +0100
vm-configurator: Don't check for QXL support
Since QXL can handle an OS that does not have drivers/support for QXL,
there is no point in checking for support. Besides it's the fallback
anyway if no video is known to be supported by the OS.
src/vm-configurator.vala | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index affb090..79442b7 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -335,11 +335,7 @@ private class Boxes.VMConfigurator {
private static void set_video_config (Domain domain, InstallerMedia install_media) {
var video = new DomainVideo ();
- var device = find_device_by_prop (install_media.supported_devices, DEVICE_PROP_CLASS, "video");
- var model = (device != null)? get_enum_value (device.get_name (), typeof (DomainVideoModel)) :
- DomainVideoModel.QXL;
- return_if_fail (model != -1);
- video.set_model ((DomainVideoModel) model);
+ video.set_model (DomainVideoModel.QXL);
domain.add_device (video);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]