PeersDialog: "QPixmap picture" not needed as member

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-05-14 11:17:19 +00:00
parent 84a87fa11b
commit e8f5bb5167
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/****************************************************************
/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2006,2007 crypton
@ -1536,6 +1536,7 @@ void PeersDialog::getAvatar()
QString fileName = QFileDialog::getOpenFileName(this, "Load File", QDir::homePath(), "Pictures (*.png *.xpm *.jpg *.tiff *.gif)");
if(!fileName.isEmpty())
{
QPixmap picture;
picture = QPixmap(fileName).scaled(82,82, Qt::IgnoreAspectRatio,Qt::SmoothTransformation);
#ifdef PEERS_DEBUG

View File

@ -55,7 +55,6 @@ public:
void loadEmoticonsgroupchat();
// void setChatDialog(ChatDialog *cd);
QPixmap picture;
virtual void updateDisplay() ; // overloaded from RsAutoUpdatePage
// replaced by shortcut
// virtual void keyPressEvent(QKeyEvent *) ;