fixed #965
This commit is contained in:
parent
fb339ca7a0
commit
35beed0262
@ -334,8 +334,10 @@ QString Feed::additionalTooltip() const {
|
|||||||
|
|
||||||
return tr("Auto-update status: %1\n"
|
return tr("Auto-update status: %1\n"
|
||||||
"Active message filters: %2\n"
|
"Active message filters: %2\n"
|
||||||
"Status: %3")
|
"Status: %3\n"
|
||||||
.arg(getAutoUpdateStatusDescription(), QString::number(m_messageFilters.size()), stat);
|
"Source: <a href=\"%4\">%4</a>\n"
|
||||||
|
"Item ID: %5")
|
||||||
|
.arg(getAutoUpdateStatusDescription(), QString::number(m_messageFilters.size()), stat, m_source, customId());
|
||||||
}
|
}
|
||||||
|
|
||||||
Qt::ItemFlags Feed::additionalFlags() const {
|
Qt::ItemFlags Feed::additionalFlags() const {
|
||||||
|
@ -124,7 +124,7 @@ QVariant RootItem::data(int column, int role) const {
|
|||||||
switch (role) {
|
switch (role) {
|
||||||
case Qt::ItemDataRole::ToolTipRole:
|
case Qt::ItemDataRole::ToolTipRole:
|
||||||
if (column == FDS_MODEL_TITLE_INDEX) {
|
if (column == FDS_MODEL_TITLE_INDEX) {
|
||||||
QString tool_tip = m_title;
|
QString tool_tip = QSL("<b>%1</b>").arg(m_title);
|
||||||
|
|
||||||
if (!m_description.isEmpty()) {
|
if (!m_description.isEmpty()) {
|
||||||
tool_tip += QL1S("\n") + m_description;
|
tool_tip += QL1S("\n") + m_description;
|
||||||
@ -136,7 +136,7 @@ QVariant RootItem::data(int column, int role) const {
|
|||||||
tool_tip += QL1S("\n\n") + extra_tooltip;
|
tool_tip += QL1S("\n\n") + extra_tooltip;
|
||||||
}
|
}
|
||||||
|
|
||||||
return tool_tip;
|
return tool_tip.replace(QSL("\n"), QSL("<br />"));
|
||||||
}
|
}
|
||||||
else if (column == FDS_MODEL_COUNTS_INDEX) {
|
else if (column == FDS_MODEL_COUNTS_INDEX) {
|
||||||
//: Tooltip for "unread" column of feed list.
|
//: Tooltip for "unread" column of feed list.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user