mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
84a87fa11b
commit
e8f5bb5167
@ -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
|
||||
|
@ -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 *) ;
|
||||
|
Loading…
Reference in New Issue
Block a user