summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wii_frame.cpp
diff options
context:
space:
mode:
authorWei Shuai <cpuwolf@gmail.com>2018-02-08 06:45:52 +0800
committerWei Shuai <cpuwolf@gmail.com>2018-02-08 06:45:52 +0800
commitb62f4a94932785203ad133565575bc5cf0f0f408 (patch)
treee3ccfcbb2720af4ac05f31dfcb3c3bd919d3491e /tracker-wii/wii_frame.cpp
parent9b6440c355f6540caa2fc0d7a7b65b6b7078d3ab (diff)
tracker/wii: enhance friendly UI
1. add new status wii_cam_wait_for_dongle 2. show "insert USB dongle" in preview window
Diffstat (limited to 'tracker-wii/wii_frame.cpp')
-rw-r--r--tracker-wii/wii_frame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-wii/wii_frame.cpp b/tracker-wii/wii_frame.cpp
index 16bcfab2..9332a704 100644
--- a/tracker-wii/wii_frame.cpp
+++ b/tracker-wii/wii_frame.cpp
@@ -50,6 +50,8 @@ WIIPreview::WIIPreview(int w, int h)
QImage WIIPreview::get_bitmap()
{
switch (status) {
+ case wii_cam_wait_for_dongle:
+ return QImage(":/Resources/usb.png");
case wii_cam_wait_for_sync:
return QImage(":/Resources/sync.png");
case wii_cam_wait_for_connect: