[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [krita] libs/ui: Condense the news text some more and make the title bold
From: Boudewijn Rempt <null () kde ! org>
Date: 2018-09-10 9:41:33
Message-ID: E1fzIhJ-0000yu-0i () code ! kde ! org
[Download RAW message or body]
Git commit 064ee34cf9a900a21b54e6dc0cf53a8fa9b07bfb by Boudewijn Rempt.
Committed on 10/09/2018 at 09:40.
Pushed by rempt into branch 'master'.
Condense the news text some more and make the title bold
M +3 -3 libs/ui/KisMultiFeedRSSModel.cpp
https://commits.kde.org/krita/064ee34cf9a900a21b54e6dc0cf53a8fa9b07bfb
diff --git a/libs/ui/KisMultiFeedRSSModel.cpp b/libs/ui/KisMultiFeedRSSMode=
l.cpp
index a5cf9b76b60..b09cf853c1f 100644
--- a/libs/ui/KisMultiFeedRSSModel.cpp
+++ b/libs/ui/KisMultiFeedRSSModel.cpp
@@ -199,9 +199,9 @@ QVariant MultiFeedRssModel::data(const QModelIndex &ind=
ex, int role) const
switch (role) {
case Qt::DisplayRole:
{
- return QString("<u>" + item.title + "</u>"
- "<p><small>" + item.pubDate.toString("MMMM d, yyyy hh:mm") =
+ "</small></p>"
- "<p><small>" + item.description.left(70).append("...") + "<=
/small></p><hr>");
+ return QString("<b><a>" + item.title + "</a></b>"
+ "<br><small>(" + item.pubDate.toString("MMMM d, yyyy") + ")=
"
+ + item.description.left(90).append("...") + "</small><hr>");
}
case TitleRole:
return item.title;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic