Run KDE's systemsettings and in the Default Applications module, check
that Firefox is the default web browser. Also in the File Associations
module (in the advanced tab in systemsettings) check settings for
text/html or any other relevant mimetype.