Allow compiling on qt < 4.7.  Ubuntu Lucid LTS uses this.
Extend new dialog list update system to scalars, and to the equation dialog.
Remove unused variable.