Remove the 'Default [Out|In]put' option from the combo for now.

It will be restored when it's actually possible to set/clear the default stream restore db
This commit is contained in:
Colin Guthrie 2009-03-16 21:50:54 +00:00
parent 0667b9d5ea
commit ca441f4c9d
1 changed files with 5 additions and 0 deletions

View File

@ -186,10 +186,12 @@ void MainWindow::rebuildSinkCombo() {
sinkTree->clear(); sinkTree->clear();
sinkTreeIndexes.clear(); sinkTreeIndexes.clear();
/*
row = *(sinkTree->append()); row = *(sinkTree->append());
idx++; idx++;
row[deviceColumns.index] = -1; row[deviceColumns.index] = -1;
row[deviceColumns.name] = "Default Output"; row[deviceColumns.name] = "Default Output";
*/
for (std::map<uint32_t, SinkWidget*>::iterator i = sinkWidgets.begin(); i != sinkWidgets.end(); ++i) { for (std::map<uint32_t, SinkWidget*>::iterator i = sinkWidgets.begin(); i != sinkWidgets.end(); ++i) {
Gtk::TreeModel::Row row = *(sinkTree->append()); Gtk::TreeModel::Row row = *(sinkTree->append());
@ -359,10 +361,13 @@ void MainWindow::rebuildSourceCombo() {
sourceTree->clear(); sourceTree->clear();
sourceTreeIndexes.clear(); sourceTreeIndexes.clear();
/*
row = *(sourceTree->append()); row = *(sourceTree->append());
idx++; idx++;
row[deviceColumns.index] = -1; row[deviceColumns.index] = -1;
row[deviceColumns.name] = "Default Input"; row[deviceColumns.name] = "Default Input";
*/
for (std::map<uint32_t, SourceWidget*>::iterator i = sourceWidgets.begin(); i != sourceWidgets.end(); ++i) { for (std::map<uint32_t, SourceWidget*>::iterator i = sourceWidgets.begin(); i != sourceWidgets.end(); ++i) {
Gtk::TreeModel::Row row = *(sourceTree->append()); Gtk::TreeModel::Row row = *(sourceTree->append());