Review Request 123976: Fixed check for QGuiApplication during start of debug session

Vladimir Novikov vlrnov at gmail.com
Mon Jun 1 16:54:18 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123976/
-----------------------------------------------------------

Review request for KDevelop.


Repository: kdevelop


Description
-------

qobject_cast should return not null in case if qApp is QGuiApplication. According qFatal text it should be null to produce an error.


Diffs
-----

  debuggers/gdb/debugsession.cpp fe015ae 

Diff: https://git.reviewboard.kde.org/r/123976/diff/


Testing
-------

Debugger starts in kdevelop session, not crashing with "You need a graphical application." error.


Thanks,

Vladimir Novikov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150601/1bcf9952/attachment.html>


More information about the KDevelop-devel mailing list