mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 00:28:58 -05:00
switched all explicit pixmap from files to shared FilesDefs::getPixmapFromQtResourcePath()
This commit is contained in:
parent
f8989ce944
commit
76511479af
90 changed files with 275 additions and 225 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include "ui_AvatarDialog.h"
|
||||
#include "AvatarDefs.h"
|
||||
#include "util/misc.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
|
||||
/** Constructor */
|
||||
AvatarDialog::AvatarDialog(QWidget *parent) :
|
||||
|
|
@ -33,7 +34,7 @@ AvatarDialog::AvatarDialog(QWidget *parent) :
|
|||
/* Invoke Qt Designer generated QObject setup routine */
|
||||
ui->setupUi(this);
|
||||
|
||||
ui->headerFrame->setHeaderImage(QPixmap(":/images/no_avatar_70.png"));
|
||||
ui->headerFrame->setHeaderImage(FilesDefs::getPixmapFromQtResourcePath(":/images/no_avatar_70.png"));
|
||||
ui->headerFrame->setHeaderText(tr("Set your Avatar picture"));
|
||||
|
||||
connect(ui->avatarButton, SIGNAL(clicked(bool)), this, SLOT(changeAvatar()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue