diff options
author | Simon Rettberg | 2015-11-12 14:16:29 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-11-12 14:16:29 +0100 |
commit | dd40eb9ab2d3b623d03c9c9e7d135ec429ba5a21 (patch) | |
tree | da6e84237850f2e646dfb2b1be10b9e515d3fbdf /src | |
parent | fix broken auto seletion (diff) | |
download | vmchooser2-dd40eb9ab2d3b623d03c9c9e7d135ec429ba5a21.tar.gz vmchooser2-dd40eb9ab2d3b623d03c9c9e7d135ec429ba5a21.tar.xz vmchooser2-dd40eb9ab2d3b623d03c9c9e7d135ec429ba5a21.zip |
Add images for win2k, winxp, win8
Diffstat (limited to 'src')
-rw-r--r-- | src/images.qrc | 3 | ||||
-rw-r--r-- | src/img/win2000.png | bin | 0 -> 1582 bytes | |||
-rw-r--r-- | src/img/win7_orig.png | bin | 83573 -> 0 bytes | |||
-rw-r--r-- | src/img/win8.png | bin | 0 -> 5080 bytes | |||
-rw-r--r-- | src/img/winxp.png | bin | 0 -> 5365 bytes | |||
-rw-r--r-- | src/sessiontreemodel.cpp | 6 |
6 files changed, 9 insertions, 0 deletions
diff --git a/src/images.qrc b/src/images.qrc index e97efda..a70331c 100644 --- a/src/images.qrc +++ b/src/images.qrc @@ -35,6 +35,9 @@ <file alias="solaris">img/solaris.png</file> <file alias="win311">img/win311.png</file> <file alias="win7">img/win7.png</file> + <file alias="win8">img/win8.png</file> + <file alias="winxp">img/winxp.png</file> + <file alias="win2000">img/win2000.png</file> <file alias="dos">img/msdos.png</file> </qresource> </RCC> diff --git a/src/img/win2000.png b/src/img/win2000.png Binary files differnew file mode 100644 index 0000000..85073c1 --- /dev/null +++ b/src/img/win2000.png diff --git a/src/img/win7_orig.png b/src/img/win7_orig.png Binary files differdeleted file mode 100644 index a4adfe5..0000000 --- a/src/img/win7_orig.png +++ /dev/null diff --git a/src/img/win8.png b/src/img/win8.png Binary files differnew file mode 100644 index 0000000..ad3b0c3 --- /dev/null +++ b/src/img/win8.png diff --git a/src/img/winxp.png b/src/img/winxp.png Binary files differnew file mode 100644 index 0000000..0dce300 --- /dev/null +++ b/src/img/winxp.png diff --git a/src/sessiontreemodel.cpp b/src/sessiontreemodel.cpp index 775d8d0..7b88015 100644 --- a/src/sessiontreemodel.cpp +++ b/src/sessiontreemodel.cpp @@ -89,6 +89,12 @@ QVariant SessionTreeModel::data(const QModelIndex &index, int role) const { return iconHolder->getIcon("win7"); if (os.startsWith("win31")) return iconHolder->getIcon("win311"); + if (os.startsWith("windows8")) + return iconHolder->getIcon("win8"); + if (os.startsWith("win2000")) + return iconHolder->getIcon("win2000"); + if (os.startsWith("winxp")) + return iconHolder->getIcon("winxp"); if (os.startsWith("debian")) return iconHolder->getIcon("debian"); if (os.startsWith("ubuntu")) |