elvisangelaccio created this revision.
elvisangelaccio added a reviewer: aacid.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  Kile has ambiguous shortcuts which result in the following string used
  as KConfig key for the dontShowAgain KMessageBox checkbox:
  
  `Find in Files...Normal Fraction - \frac{}{}Alt+Shift+F`
  
  However KConfig doesn't like it:
  
  "Invalid escape sequence \"\\f\"."
  
  and the 'f' character after the slash is removed from the key, breaking the
  dontShowAgain functionality.
  
  This patch removes all backslashes from the key, before passing it to
  the messagebox.

TEST PLAN
  Open Kile, check the dontShowAgain checkbox, close Kile. Open again Kile and
  make sure the messagebox is not shown again.

REPOSITORY
  R263 KXmlGui

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D4496

AFFECTED FILES
  src/kxmlguiwindow.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: elvisangelaccio, aacid
Cc: #frameworks

Reply via email to