summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-27 20:37:09 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-27 14:36:13 -0700
commitae4015dc105f9d2e94e1dd68e6a79a81a061a9e6 (patch)
tree9cfb5d20279e42ec1def3cad3c78dccf8f15567b
parent8f89d3cbec0988a1d9e59e0636872c4795d2b44e (diff)
downloadsubsurface-ae4015dc105f9d2e94e1dd68e6a79a81a061a9e6.tar.gz
Add a icon to the OSTC, Mk.2/2N config line
The icon comes from heinrichsweikamp.com, the same as the ostc3.png did. I've emailed with Matthias Heinrichs at HW and they have given us permission to use both the ostc3.png and ostc2n.png under the GPL v2. They also can provide the hi-res originals if anyone needs to do more work on these icons. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--icons/ostc2n.pngbin0 -> 12849 bytes
-rw-r--r--qt-ui/configuredivecomputerdialog.ui4
-rw-r--r--subsurface.qrc1
3 files changed, 5 insertions, 0 deletions
diff --git a/icons/ostc2n.png b/icons/ostc2n.png
new file mode 100644
index 000000000..5308ee08f
--- /dev/null
+++ b/icons/ostc2n.png
Binary files differ
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 17e83fdf0..6325db863 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -188,6 +188,10 @@
<property name="text">
<string>OSTC, Mk.2/2N/2C</string>
</property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icons/ostc2n.png</normaloff>:/icons/ostc2n.png</iconset>
+ </property>
</item>
</widget>
<widget class="QStackedWidget" name="dcStackedWidget">
diff --git a/subsurface.qrc b/subsurface.qrc
index 706e431db..d66b151c5 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -65,6 +65,7 @@
<file>icons/subsurface/32x32/actions/go-down.png</file>
<file>icons/subsurface/32x32/actions/go-up.png</file>
<file>icons/subsurface/32x32/actions/window-close.png</file>
+ <file>icons/ostc2n.png</file>
<file>icons/ostc3.png</file>
<file>icons/suunto_vyper.png</file>
</qresource>