summaryrefslogtreecommitdiffstats
path: root/src/vsession.h
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-21 10:32:10 +0200
committerSimon Rettberg2021-10-21 10:32:10 +0200
commitc00edf9e5e082637542f0c79cdbee7a4fe08fbed (patch)
tree17db9090c5b040863def3f575da1d2da6ddbc241 /src/vsession.h
parentAdd icon for QEMU virtualizer (diff)
downloadvmchooser2-c00edf9e5e082637542f0c79cdbee7a4fe08fbed.tar.gz
vmchooser2-c00edf9e5e082637542f0c79cdbee7a4fe08fbed.tar.xz
vmchooser2-c00edf9e5e082637542f0c79cdbee7a4fe08fbed.zip
vsession icon: Match agains OS display name too
Diffstat (limited to 'src/vsession.h')
-rw-r--r--src/vsession.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vsession.h b/src/vsession.h
index e571805..af01230 100644
--- a/src/vsession.h
+++ b/src/vsession.h
@@ -47,6 +47,10 @@ class VSession : public Session {
return getAttribute(QStringLiteral("os"));
}
+ QString osDisplayName() const {
+ return getAttribute(QStringLiteral("os_name"));
+ }
+
QString uuid() const {
return getAttribute(QStringLiteral("uuid"));
}