qt: restore icon dock menu

This was removed by 25c0cce7f. It was apparently removed in qt5, but
may return for 5.1.
Merge pull request #3319

871ac37 qt: restore icon dock menu (theuni)