1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Call ensurePolished before creating buttons in SettingsDialog.

This commit is contained in:
Christian Muehlhaeuser 2011-11-23 09:57:08 +01:00
parent cf771ae94b
commit cb3a4cf66b

@ -253,6 +253,8 @@ SettingsDialog::createIcons()
/// so the icons arre lined up.
// Resolvers is the longest string... in english. fml.
ensurePolished();
int maxlen = 0;
QFontMetrics fm( font() );
QListWidgetItem *accountsButton = new QListWidgetItem( ui->listWidget );