[Qt-interest] disabling existed menu action.

Yuvaraj R yuvaraj at ongobiz.com
Sat Oct 3 07:51:58 CEST 2009


Hi All

I have menu..which is having following options..

 for tab 1


1) call
2)Im
3)delete
4) Block..
menu->exe();

for tab1 it is working fine.same menu i want to display for tab 2 also

with only two options of above

1) call

2) im

I did..

bolck->setEnabled(false);
delete->setEnabled(false);
menu->exe();

But while executing the menu in tab 2 ,application is crashing..




Thanks

Yuvaraj R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091003/e353e1b2/attachment.html 


More information about the Qt-interest-old mailing list