Avoid needlessly converting a QIcon to a pixmap
We can pass a QIcon directly here, which is better since it makes the widget responsible for picking the correct icon size
Please register or sign in to comment
We can pass a QIcon directly here, which is better since it makes the widget responsible for picking the correct icon size