|
a/application.cpp |
|
b/application.cpp |
|
... |
|
... |
256 |
m_ohpro->sourceIndex(&cur);
|
256 |
m_ohpro->sourceIndex(&cur);
|
257 |
|
257 |
|
258 |
vector<int> rowtoidx;
|
258 |
vector<int> rowtoidx;
|
259 |
SourceChooseDLG dlg(m_player);
|
259 |
SourceChooseDLG dlg(m_player);
|
260 |
for (unsigned int i = 0; i < srcs.size(); i++) {
|
260 |
for (unsigned int i = 0; i < srcs.size(); i++) {
|
261 |
if (!srcs[i].visible)
|
261 |
// Receiver can't be usefully selected (no way to specify the
|
|
|
262 |
// sender). Old versions of upmpdcli made Receiver not
|
|
|
263 |
// visible, but the linn device have it visible and this is
|
|
|
264 |
// necessary for kazoo, so just skip Receiver-type sources.
|
|
|
265 |
if (!srcs[i].visible || srcs[i].type == "Receiver")
|
262 |
continue;
|
266 |
continue;
|
263 |
QString stype = u8s2qs(srcs[i].type + "\t(" + srcs[i].name + ")");
|
267 |
QString stype = u8s2qs(srcs[i].type + "\t(" + srcs[i].name + ")");
|
264 |
if (int(i) == cur) {
|
268 |
if (int(i) == cur) {
|
265 |
QListWidgetItem *item = new QListWidgetItem(stype);
|
269 |
QListWidgetItem *item = new QListWidgetItem(stype);
|
266 |
QFont font = dlg.rndsLW->font();
|
270 |
QFont font = dlg.rndsLW->font();
|