QTextEdit hasFocus() not working on linux

Printable View