started feature to show bigger profile images
[situare] / src / ui / userinfo.cpp
index 05ea5fb..e85921f 100644 (file)
@@ -116,6 +116,7 @@ UserInfo::UserInfo(QWidget *parent)
         this, SLOT(findButtonClicked()));
 
     setFixedWidth(BACKGROUND_WIDTH);
+    //setFixedWidth(500);
 
     this->setFont(NOKIA_FONT_SMALL);
     m_nameLabel->setFont(NOKIA_FONT_NORMAL);
@@ -157,7 +158,7 @@ void UserInfo::setProfileImage(const QPixmap &image)
 {
     qDebug() << __PRETTY_FUNCTION__;
 
-    m_findButton->setIcon(image);
+    m_findButton->setButtonIcon(image);
 }
 
 void UserInfo::setTime(const QString &time)