D19532: Don't crash when no contexts are present

Christoph Cullmann noreply at phabricator.kde.org
Tue Mar 5 19:01:53 GMT 2019


cullmann added a comment.


  No, because defData isn't defined there yet, it's created only later with auto defData = DefinitionData::get(d->m_definition);
  
  > you can just move that up some lines, or?
  ===========================================
  
  I actually have taken a short look, perhaps a issue is already that "isValid()" is true even if we fail to load anything useful.

REPOSITORY
  R216 Syntax Highlighting

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

To: davispuh, cullmann, dhaumann, vandenoever
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190305/51397466/attachment-0001.html>


More information about the KWrite-Devel mailing list