mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 17:15:31 -05:00
update few more strings to the new naming
This commit is contained in:
parent
01068acb18
commit
920463a4ae
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#define DEBUG_POSTED_LIST_WIDGET
|
#define DEBUG_POSTED_LIST_WIDGET
|
||||||
|
|
||||||
#define TOPIC_DEFAULT_IMAGE ":/icons/png/posted.png"
|
#define BOARD_DEFAULT_IMAGE ":/icons/png/posted.png"
|
||||||
|
|
||||||
/* View mode */
|
/* View mode */
|
||||||
#define VIEW_MODE_CLASSIC 1
|
#define VIEW_MODE_CLASSIC 1
|
||||||
@ -351,13 +351,13 @@ void PostedListWidget::insertPostedDetails(const RsPostedGroup &group)
|
|||||||
ui->subscribeToolButton->setHidden(IS_GROUP_SUBSCRIBED(group.mMeta.mSubscribeFlags)) ;
|
ui->subscribeToolButton->setHidden(IS_GROUP_SUBSCRIBED(group.mMeta.mSubscribeFlags)) ;
|
||||||
|
|
||||||
/* IMAGE */
|
/* IMAGE */
|
||||||
QPixmap topicImage;
|
QPixmap boardImage;
|
||||||
if (group.mGroupImage.mData != NULL) {
|
if (group.mGroupImage.mData != NULL) {
|
||||||
GxsIdDetails::loadPixmapFromData(group.mGroupImage.mData, group.mGroupImage.mSize, topicImage,GxsIdDetails::ORIGINAL);
|
GxsIdDetails::loadPixmapFromData(group.mGroupImage.mData, group.mGroupImage.mSize, boardImage,GxsIdDetails::ORIGINAL);
|
||||||
} else {
|
} else {
|
||||||
topicImage = QPixmap(TOPIC_DEFAULT_IMAGE);
|
boardImage = QPixmap(BOARD_DEFAULT_IMAGE);
|
||||||
}
|
}
|
||||||
ui->logoLabel->setPixmap(topicImage);
|
ui->logoLabel->setPixmap(boardImage);
|
||||||
ui->namelabel->setText(QString::fromUtf8(group.mMeta.mGroupName.c_str()));
|
ui->namelabel->setText(QString::fromUtf8(group.mMeta.mGroupName.c_str()));
|
||||||
ui->poplabel->setText(QString::number( group.mMeta.mPop));
|
ui->poplabel->setText(QString::number( group.mMeta.mPop));
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ PostedPage::PostedPage(QWidget * parent, Qt::WindowFlags flags)
|
|||||||
setAttribute(Qt::WA_QuitOnClose, false);
|
setAttribute(Qt::WA_QuitOnClose, false);
|
||||||
|
|
||||||
/* Initialize GroupFrameSettingsWidget */
|
/* Initialize GroupFrameSettingsWidget */
|
||||||
ui->groupFrameSettingsWidget->setOpenAllInNewTabText(tr("Open each topic in a new tab"));
|
ui->groupFrameSettingsWidget->setOpenAllInNewTabText(tr("Open each board in a new tab"));
|
||||||
ui->groupFrameSettingsWidget->setType(GroupFrameSettings::Posted);
|
ui->groupFrameSettingsWidget->setType(GroupFrameSettings::Posted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user