Hi,
Change this line:
Qt Code:
if(me->button() == Qt::RightButton)To copy to clipboard, switch view to plain text mode
In your statment
You are asking if "me->button()" and "Qt::RightButton" are equal to 1(or true).Qt Code:
if(me->button() & Qt::RightButton)To copy to clipboard, switch view to plain text mode
Bookmarks