#1653: Drag and drop of URL onto MSN user crashes Licq
----------------------+-----------------------------------------------------
Reporter: root_42 | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 1.3.7
Component: qt4-gui | Version: 1.3.6
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by flynd):
* status: new => closed
* resolution: => fixed
* component: None => qt4-gui
Comment:
When dropping an url on a user, the url event dialog is opened. The
problem was caused by the following line since the url event type is not
in the actions list for a msn contact.
{{{
myEventTypeGroup->actions().at(UrlEvent)->setChecked(true);
}}}
The same would happen if trying to open another unsupperted event type.
For example an URL for a local file would trigger the same error with the
file event dialog.
Fixed in r6539. Added a check to see if the event type is supported before
trying to open an event dialog.
Problem does not occur in Qt-Gui as it doesn't hide the unsupported event
types.
--
Ticket URL: <http://www.licq.org/ticket/1653#comment:1>
Licq <http://www.licq.org/>
Licq - an instant messaging client for UNIX.