From ebc3f4b7aace7e830da208d4dcfa65a1d02f57cd Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Sat, 9 Oct 2010 12:59:36 +0200 Subject: Empty icon for VSessions, default to vmware icon * added empty icon "none" * default to vmware icon if no icon is set for a VSession --- src/vsession.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/vsession.h') diff --git a/src/vsession.h b/src/vsession.h index 0a1bf71..f9ab076 100644 --- a/src/vsession.h +++ b/src/vsession.h @@ -32,13 +32,7 @@ class VSession : public Session { return getAttribute("description"); } - QString icon() const { - QString icon(getAttribute("icon")); - if (icon.contains(".") && QDir::isRelativePath(icon)) { - icon.prepend(baseDirPath_ + "/"); - } - return icon; - } + QString icon() const; QString os() const { return getAttribute("os"); -- cgit v1.2.3-55-g7522