Replace SettingsDialog UI pointer with QScopedPointer

Signed-off-by: Mika Tammi <mikatammi@gmail.com>