pass msg ID to single msg layout
This commit is contained in:
parent
6796c81ce0
commit
b35d52be31
2 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,7 @@ Here is overview of all placeholders used throughtout the skin:
|
||||||
%5 - Date/time of the article.
|
%5 - Date/time of the article.
|
||||||
%6 - Attachments (composed from html_enclosure_every.html).
|
%6 - Attachments (composed from html_enclosure_every.html).
|
||||||
%7 - Attached pictures (composed from html_enclosure_image.html).
|
%7 - Attached pictures (composed from html_enclosure_image.html).
|
||||||
|
%8 - Database ID of the message.
|
||||||
|
|
||||||
html_adblocked.html:
|
html_adblocked.html:
|
||||||
%1 - Title of the page. This page is used when the website is entirely blocked by AdBlock.
|
%1 - Title of the page. This page is used when the website is entirely blocked by AdBlock.
|
||||||
|
|
|
@ -154,7 +154,8 @@ void WebViewer::loadMessages(const QList<Message>& messages, RootItem* root) {
|
||||||
message.m_contents,
|
message.m_contents,
|
||||||
msg_date,
|
msg_date,
|
||||||
enclosures,
|
enclosures,
|
||||||
enclosure_images));
|
enclosure_images,
|
||||||
|
QString::number(message.m_id)));
|
||||||
}
|
}
|
||||||
|
|
||||||
m_root = root;
|
m_root = root;
|
||||||
|
|
Loading…
Add table
Reference in a new issue