remove unused variable from QPlainTextEdit::paintEvent