[Kstars-devel] [PATCH] Unclean fix for crash in Detail Dialog

Akarsh Simha akarshsimha at gmail.com
Sun May 18 01:23:41 CEST 2008


Hi

m_CurrentLink [The pointer to the current link in the 'Links' list in
the Detail Dialog] was not checked for NULL in the slots of the Remove
Link, Edit Link and View Resource buttons.

While this patch prevents the crash, the buttons should probably be
disabled when no link is selected and become enabled only when a link
is selected, to provide a more intuitive user interface.

Regards
Akarsh.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kstars_fix_crash_remove_link_btn.patch
Type: text/x-diff
Size: 1163 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080518/86441738/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080518/86441738/attachment.pgp 


More information about the Kstars-devel mailing list