mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-14 16:18:48 -05:00
Fixed to load the stickers only one time
This commit is contained in:
parent
55d8ff7b6d
commit
c746af23ed
3 changed files with 5 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ AvatarDialog::AvatarDialog(QWidget *parent) :
|
|||
connect(ui->buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
|
||||
updateInterface();
|
||||
loadFolders();
|
||||
|
||||
loadAvatarWidget();
|
||||
}
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ void AvatarDialog::getAvatar(QByteArray &avatar)
|
|||
pixmap->save(&buffer, "PNG"); // writes image into ba in PNG format
|
||||
}
|
||||
|
||||
void AvatarDialog::loadFolders()
|
||||
void AvatarDialog::load()
|
||||
{
|
||||
filters << "*.png" << "*.jpg" << "*.gif";
|
||||
stickerFolders << (QString::fromStdString(RsAccounts::AccountDirectory()) + "/stickers"); //under account, unique for user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue