Add virtual device type

This commit is contained in:
morg committed 2021-04-21 21:37:50 +02:00
1 parent 28af2da1c2
commit c45f864977
5 files changed
+6

No files matched your search

+1
View File
@@ -118,6 +118,7 @@ enum
DEVICE_TYPE_GAMEPAD,
DEVICE_TYPE_LIGHT,
DEVICE_TYPE_SPEAKER,
DEVICE_TYPE_VIRTUAL,
DEVICE_TYPE_UNKNOWN
};
+3
View File
@@ -65,6 +65,9 @@ static QString GetIconString(device_type type, bool dark)
case DEVICE_TYPE_SPEAKER:
filename = "speaker";
break;
case DEVICE_TYPE_VIRTUAL:
filename = "virtual";
break;
default:
filename = "unknown";
break;
+2
View File
@@ -36,5 +36,7 @@
<file>plugin_dark.png</file>
<file>speaker.png</file>
<file>speaker_dark.png</file>
<file>virtual.png</file>
<file>virtual_dark.png</file>
</qresource>
</RCC>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB