in second the SLOT is aand you have aQt Code:
void Second::func_clicked()To copy to clipboard, switch view to plain text modeMaybe the discovery is a relic from the previous implemantation?Qt Code:
void discovery::func_clicked()To copy to clipboard, switch view to plain text mode
(the same for the destructor. Does it compile???)
Check this:
http://www.qtcentre.org/faq.php?faq=qt_signalslot
Bookmarks