Originally Posted by MrDeath if this condition is false Qt Code: Switch view if (event->type() == QEvent::KeyPress) if (event->type() == QEvent::KeyPress) To copy to clipboard, switch view to plain text mode then your function does not return anything. may be this is the issue. Thanks~that's the reason~
if (event->type() == QEvent::KeyPress)
View Tag Cloud
Forum Rules
Bookmarks