Fix GCC 4.5 errors, which does not accept any more calling the constructor like

this: C::C()

For a more detailed and correct explanation see Harald van Dijk's comment here:
http://blog.flameeyes.eu/2010/06/02/tinderbox-summary-for-may-2010-gcc-4-5-berkeley-db-5-0-libpng-1-4


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
leander-256 2010-06-14 11:57:22 +00:00
parent 2d839b031b
commit 4dc30963cb
6 changed files with 21 additions and 21 deletions

View file

@ -43,7 +43,7 @@ PeerStatus::PeerStatus(QWidget *parent)
hbox->setSpacing(6);
iconLabel = new QLabel( this );
iconLabel->setPixmap(QPixmap::QPixmap(":/images/user/identitygray16.png"));
iconLabel->setPixmap(QPixmap(":/images/user/identitygray16.png"));
// iconLabel doesn't change over time, so we didn't need a minimum size
hbox->addWidget(iconLabel);
@ -79,11 +79,11 @@ void PeerStatus::getPeerStatus()
if (nOnlineCount > 0)
{
iconLabel->setPixmap(QPixmap::QPixmap(":/images/user/identity16.png"));
iconLabel->setPixmap(QPixmap(":/images/user/identity16.png"));
}
else
{
iconLabel->setPixmap(QPixmap::QPixmap(":/images/user/identitygray16.png"));
iconLabel->setPixmap(QPixmap(":/images/user/identitygray16.png"));
}