mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-03 15:39:31 +00:00
remote-viewer: Avoid simple_message_dialog() when errors can be propagated
Remove the dialog used to report errors when create_session() fails, propagating the error is enough and it is already done. Related: rhbz#1085216
This commit is contained in:
parent
ffe19f6ece
commit
f580f1ea54
@ -1222,7 +1222,7 @@ remote_viewer_start(VirtViewerApp *app, GError **err)
|
||||
|
||||
if (priv->controller) {
|
||||
if (!virt_viewer_app_create_session(app, "spice", &error)) {
|
||||
virt_viewer_app_simple_message_dialog(app, _("Couldn't create a Spice session"));
|
||||
g_debug("Couldn't create a Spice session");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user