From dd40eb9ab2d3b623d03c9c9e7d135ec429ba5a21 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Thu, 12 Nov 2015 14:16:29 +0100
Subject: Add images for win2k, winxp, win8
---
src/images.qrc | 3 +++
src/img/win2000.png | Bin 0 -> 1582 bytes
src/img/win7_orig.png | Bin 83573 -> 0 bytes
src/img/win8.png | Bin 0 -> 5080 bytes
src/img/winxp.png | Bin 0 -> 5365 bytes
src/sessiontreemodel.cpp | 6 ++++++
6 files changed, 9 insertions(+)
create mode 100644 src/img/win2000.png
delete mode 100644 src/img/win7_orig.png
create mode 100644 src/img/win8.png
create mode 100644 src/img/winxp.png
(limited to 'src')
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 @@
img/solaris.png
img/win311.png
img/win7.png
+ img/win8.png
+ img/winxp.png
+ img/win2000.png
img/msdos.png
diff --git a/src/img/win2000.png b/src/img/win2000.png
new file mode 100644
index 0000000..85073c1
Binary files /dev/null and b/src/img/win2000.png differ
diff --git a/src/img/win7_orig.png b/src/img/win7_orig.png
deleted file mode 100644
index a4adfe5..0000000
Binary files a/src/img/win7_orig.png and /dev/null differ
diff --git a/src/img/win8.png b/src/img/win8.png
new file mode 100644
index 0000000..ad3b0c3
Binary files /dev/null and b/src/img/win8.png differ
diff --git a/src/img/winxp.png b/src/img/winxp.png
new file mode 100644
index 0000000..0dce300
Binary files /dev/null and b/src/img/winxp.png 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"))
--
cgit v1.2.3-55-g7522