Ticket #3131: mythtv-keybinding_jump-double_escaping.patch

File mythtv-keybinding_jump-double_escaping.patch, 864 bytes (added by sphery <mtdean@…>, 13 years ago)
  • libs/libmythui/mythmainwindow.cpp

     
    827827        else
    828828        {
    829829            QString inskey = keybind;
    830             inskey.replace('\\', "\\\\");
    831             inskey.replace('\"', "\\\"");
    832830
    833831            query.prepare("INSERT INTO keybindings (context, action, "
    834832                          "description, keylist, hostname) VALUES "
     
    949947        else
    950948        {
    951949            QString inskey = keybind;
    952             inskey.replace('\\', "\\\\");
    953             inskey.replace('\"', "\\\"");
    954950
    955951            query.prepare("INSERT INTO jumppoints (destination, description, "
    956952                          "keylist, hostname) VALUES ( :DEST, :DESC, :KEYLIST, "