Index: /trunk/BNC/src/bnctabledlg.cpp
===================================================================
--- /trunk/BNC/src/bnctabledlg.cpp	(revision 8176)
+++ /trunk/BNC/src/bnctabledlg.cpp	(revision 8177)
@@ -35,5 +35,5 @@
  * Created:    24-Dec-2005
  *
- * Changes:    
+ * Changes:
  *
  * -----------------------------------------------------------------------*/
@@ -145,9 +145,9 @@
   _buttonGet->setDefault(true);
   connect(_buttonGet, SIGNAL(clicked()), this, SLOT(slotGetTable()));
- 
+
   _buttonMap = new QPushButton(tr("Map"), this);
   _buttonMap->setEnabled(false);
   connect(_buttonMap, SIGNAL(clicked()), this, SLOT(slotShowMap()));
- 
+
   _buttonClose = new QPushButton(tr("Close"), this);
   connect(_buttonClose, SIGNAL(clicked()), this, SLOT(close()));
@@ -196,7 +196,7 @@
 // Read full caster table (static)
 ////////////////////////////////////////////////////////////////////////////
-t_irc bncTableDlg::getFullTable(const QString& ntripVersion, 
-                                const QString& casterHost, 
-                                int casterPort, QStringList& allLines, 
+t_irc bncTableDlg::getFullTable(const QString& ntripVersion,
+                                const QString& casterHost,
+                                int casterPort, QStringList& allLines,
                                 bool alwaysRead) {
 
@@ -243,5 +243,5 @@
       allLines.append(line);
       line = in.readLine();
-    } 
+    }
     allTables.insert(casterHost, allLines);
     delete query;
@@ -260,5 +260,5 @@
   _buttonGet->setEnabled(false);
   _buttonMap->setEnabled(true);
-  _buttonCasterTable->setEnabled(false); 
+  _buttonCasterTable->setEnabled(false);
 
   if ( getFullTable(_ntripVersionComboBox->currentText(),
@@ -270,5 +270,5 @@
     return;
   }
-  
+
   static const QStringList labels = QString("mountpoint,identifier,format,"
     "format-details,carrier,system,network,country,lat,long,"
@@ -297,8 +297,8 @@
       for (int ic = 1; ic < columns.size(); ic++) {
             if (ic == 11) {
-          if (columns[ic] == "0") { 
-            columns[ic] = "no"; 
-          } else { 
-            columns[ic] = "yes"; 
+          if (columns[ic] == "0") {
+            columns[ic] = "no";
+          } else {
+            columns[ic] = "yes";
           }
         }
@@ -413,5 +413,5 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncTableDlg::slotCasterTable() {
-        
+
   _buttonCasterTable->setEnabled(false);
   _casterHostComboBox->setEnabled(false);
@@ -425,5 +425,5 @@
   _buttonSelect->setEnabled(false);
 
-  bncCasterTableDlg* dlg = 
+  bncCasterTableDlg* dlg =
           new bncCasterTableDlg(_ntripVersionComboBox->currentText(), this);
   dlg->move(this->pos().x()+50, this->pos().y()+50);
@@ -468,5 +468,5 @@
   url.setPort(newCasterPort.toInt());
   addUrl(url);
-  
+
   _casterHostComboBox->setCurrentIndex(0);
 }
@@ -513,8 +513,8 @@
 ////////////////////////////////////////////////////////////////////////////
 bncCasterTableDlg::bncCasterTableDlg(const QString& ntripVersion,
-                                     QWidget* parent) : 
+                                     QWidget* parent) :
    QDialog(parent) {
 
-  static const QStringList labels = QString("host,port,identifier,operator,nmea,country,lat,long,link").split(",");
+  static const QStringList labels = QString("host,port,identifier,operator,nmea,country,lat,long,fallback host, fallback port,link").split(",");
 
   _casterTable = new QTableWidget(this);
@@ -574,9 +574,9 @@
       QStringList columns = lines[nRow].split(";");
       for (int ic = 1; ic < columns.size(); ic++) {
-         if (ic == 5) { 
-           if (columns[ic] == "0") { 
-             columns[ic] = "no"; 
-           } else { 
-             columns[ic] = "yes"; 
+         if (ic == 5) {
+           if (columns[ic] == "0") {
+             columns[ic] = "no";
+           } else {
+             columns[ic] = "yes";
            }
          }
@@ -586,5 +586,5 @@
       }
     }
-  } 
+  }
   _casterTable->setHorizontalHeaderLabels(labels);
   _casterTable->setSortingEnabled(true);
@@ -624,5 +624,5 @@
   dlgLayout->addWidget(_casterTable,     1, 0, 1, 3);
   dlgLayout->addWidget(_whatsThisButton, 2, 0);
-  dlgLayout->addWidget(_closeButton,     2, 1, Qt::AlignRight);  
+  dlgLayout->addWidget(_closeButton,     2, 1, Qt::AlignRight);
   dlgLayout->addWidget(_okButton,        2, 2);
 
@@ -631,4 +631,6 @@
   setLayout(dlgLayout);
   resize(68*ww, 50*ww);
+  _casterTable->hideColumn(8);
+  _casterTable->hideColumn(9);
   show();
 }
@@ -655,5 +657,5 @@
     for (int ir = _casterTable->rowCount() - 1; ir >= 0 ; ir--) {
       if (_casterTable->isItemSelected(_casterTable->item(ir,0))) {
-        emit newCaster(_casterTable->item(ir,0)->text(), 
+        emit newCaster(_casterTable->item(ir,0)->text(),
                        _casterTable->item(ir,1)->text());
       }
