Your first snippet looks ok to me, but maybe try to check each separately?
Qt Code:
if ((event->modifiers() & Qt::ShiftModifier) != 0 && (event->modifiers() & Qt::ControlModifier) != 0)To copy to clipboard, switch view to plain text mode
Cheers,
_
Your first snippet looks ok to me, but maybe try to check each separately?
Qt Code:
if ((event->modifiers() & Qt::ShiftModifier) != 0 && (event->modifiers() & Qt::ControlModifier) != 0)To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks