Clean up PeerListWidget

This commit is contained in:
Christophe Dumez
2012-02-25 21:02:19 +02:00
parent 0c279e0567
commit 6778b7460a
6 changed files with 163 additions and 175 deletions

View File

@@ -77,7 +77,7 @@ void IconProvider::useSystemIconTheme(bool enable)
// It scales the icon from the theme if necessary
// Otherwise, the UI looks broken if the icon is not available
// in the correct size.
QIcon IconProvider::generateDifferentSizes(const QIcon &icon)
QIcon IconProvider::generateDifferentSizes(const QIcon& icon)
{
QIcon new_icon;
QList<QSize> required_sizes;
@@ -100,7 +100,7 @@ QIcon IconProvider::generateDifferentSizes(const QIcon &icon)
}
#endif
QString IconProvider::getIconPath(const QString &iconId)
QString IconProvider::getIconPath(const QString& iconId)
{
#if defined(Q_WS_X11)
if (m_useSystemTheme) {