summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2015-11-12 14:16:29 +0100
committerSimon Rettberg2015-11-12 14:16:29 +0100
commitdd40eb9ab2d3b623d03c9c9e7d135ec429ba5a21 (patch)
treeda6e84237850f2e646dfb2b1be10b9e515d3fbdf /src
parentfix broken auto seletion (diff)
downloadvmchooser2-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.qrc3
-rw-r--r--src/img/win2000.pngbin0 -> 1582 bytes
-rw-r--r--src/img/win7_orig.pngbin83573 -> 0 bytes
-rw-r--r--src/img/win8.pngbin0 -> 5080 bytes
-rw-r--r--src/img/winxp.pngbin0 -> 5365 bytes
-rw-r--r--src/sessiontreemodel.cpp6
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
new file mode 100644
index 0000000..85073c1
--- /dev/null
+++ b/src/img/win2000.png
Binary files differ
diff --git a/src/img/win7_orig.png b/src/img/win7_orig.png
deleted file mode 100644
index a4adfe5..0000000
--- a/src/img/win7_orig.png
+++ /dev/null
Binary files differ
diff --git a/src/img/win8.png b/src/img/win8.png
new file mode 100644
index 0000000..ad3b0c3
--- /dev/null
+++ b/src/img/win8.png
Binary files differ
diff --git a/src/img/winxp.png b/src/img/winxp.png
new file mode 100644
index 0000000..0dce300
--- /dev/null
+++ b/src/img/winxp.png
Binary files differ
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"))