Ensure attributes get initialised. Proper use of i18n() Do not pass const& to SLOT() Remove unused variable. (cherry picked from commit 38b96988)