diff options
author | Simon Rettberg | 2021-10-21 10:32:10 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-10-21 10:32:10 +0200 |
commit | c00edf9e5e082637542f0c79cdbee7a4fe08fbed (patch) | |
tree | 17db9090c5b040863def3f575da1d2da6ddbc241 /src/vsession.h | |
parent | Add icon for QEMU virtualizer (diff) | |
download | vmchooser2-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.h | 4 |
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")); } |