Fix keymap.
[vuplus_xbmc] / xbmc / DbUrl.cpp
index a925471..2a00776 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *      Copyright (C) 2012 Team XBMC
- *      http://www.xbmc.org
+ *      Copyright (C) 2012-2013 Team XBMC
+ *      http://xbmc.org
  *
  *  This Program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -13,7 +13,8 @@
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *  along with XBMC; see the file COPYING.  If not, see
+ *  <http://www.gnu.org/licenses/>.
  *
  */
 
@@ -130,6 +131,12 @@ void CDbUrl::AddOptions(const std::string &options)
   updateOptions();  
 }
 
+void CDbUrl::RemoveOption(const std::string &key)
+{
+  CUrlOptions::RemoveOption(key);
+  updateOptions(); 
+}
+
 bool CDbUrl::validateOption(const std::string &key, const CVariant &value)
 {
   if (key.empty())