Fixed plugin settings
Ported to QT5