mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
update to use FilesDefs
This commit is contained in:
parent
58a4eafcc2
commit
4148e3c8db
2 changed files with 2 additions and 2 deletions
|
@ -192,7 +192,7 @@ void PostedCardView::fill()
|
||||||
ui->dateLabel->setText(timestamp);
|
ui->dateLabel->setText(timestamp);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
QPixmap sqpixmap2 = QPixmap(":/images/thumb-default.png");
|
QPixmap sqpixmap2 = FilesDefs::getPixmapFromQtResourcePath(":/images/thumb-default.png");
|
||||||
|
|
||||||
mInFill = true;
|
mInFill = true;
|
||||||
int desired_height = 1.5*(ui->voteDownButton->height() + ui->voteUpButton->height() + ui->scoreLabel->height());
|
int desired_height = 1.5*(ui->voteDownButton->height() + ui->voteUpButton->height() + ui->scoreLabel->height());
|
||||||
|
|
|
@ -501,7 +501,7 @@ void PostedItem::fill()
|
||||||
RetroShareLink link = RetroShareLink::createGxsGroupLink(RetroShareLink::TYPE_POSTED, mGroupMeta.mGroupId, groupName());
|
RetroShareLink link = RetroShareLink::createGxsGroupLink(RetroShareLink::TYPE_POSTED, mGroupMeta.mGroupId, groupName());
|
||||||
ui->nameLabel->setText(link.toHtml());
|
ui->nameLabel->setText(link.toHtml());
|
||||||
|
|
||||||
QPixmap sqpixmap2 = QPixmap(":/images/thumb-default.png");
|
QPixmap sqpixmap2 = FilesDefs::getPixmapFromQtResourcePath(":/images/thumb-default.png");
|
||||||
|
|
||||||
mInFill = true;
|
mInFill = true;
|
||||||
int desired_height = 1.5*(ui->voteDownButton->height() + ui->voteUpButton->height() + ui->scoreLabel->height());
|
int desired_height = 1.5*(ui->voteDownButton->height() + ui->voteUpButton->height() + ui->scoreLabel->height());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue