hdd_menu: use new marker icons

Origin commit data
------------------
Commit: 0809b169e3
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)

Origin message was:
------------------
- hdd_menu: use new marker icons
This commit is contained in:
vanhofen
2018-01-04 16:07:46 +01:00
parent a8396cc299
commit 7cd10e490e

View File

@@ -864,7 +864,7 @@ _show_menu:
if (it->mounted) { if (it->mounted) {
std::string dst = MOUNT_BASE + it->devname; std::string dst = MOUNT_BASE + it->devname;
if (!stat(dst.c_str(), &stat_buf) && rec_st.st_dev == stat_buf.st_dev) if (!stat(dst.c_str(), &stat_buf) && rec_st.st_dev == stat_buf.st_dev)
rec_icon = CNeutrinoApp::getInstance()->recordingstatus ? NEUTRINO_ICON_REC : NEUTRINO_ICON_REC_GRAY; rec_icon = CNeutrinoApp::getInstance()->recordingstatus ? NEUTRINO_ICON_MARKER_RECORD : NEUTRINO_ICON_MARKER_RECORD_GRAY;
} }
std::string key = "m" + it->devname; std::string key = "m" + it->devname;
bool enabled = !rec_icon || !CNeutrinoApp::getInstance()->recordingstatus; bool enabled = !rec_icon || !CNeutrinoApp::getInstance()->recordingstatus;