[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdepim/enterprise/kdepim/libkcal
From: Allen Winter <winter () kde ! org>
Date: 2010-10-02 22:48:52
Message-ID: 20101002224852.6F35CAC891 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1181989 by winterz:
change the color for displaying invitation diffs from orange-brown to red,
per customer request. this is an interim solution -- soon we will
make a real customization option.
kolab/issue4325
MERGE: none (wait for the customization option)
M +2 -4 incidenceformatter.cpp
--- branches/kdepim/enterprise/kdepim/libkcal/incidenceformatter.cpp #1181988:1181989
@@ -1158,15 +1158,13 @@
}
// if 'value' has changed, then make a special print
-// QPalette pal = qApp->palette();
-// QString color = pal.color( QPalette::Active, QColorGroup::Highlight ).name();
- QString color = "#DE8519"; // hard-coded color from Outlook2007, per request.
+// QString color = "#DE8519"; // hard-coded color from Outlook2007, per request.
+ QString color = QColor( Qt::red ).name() ; //customer changed their mind, now they want red.
QString newtitle = "<font color=\"" + color + "\">" + title + "</font>";
QString newvalue = "<font color=\"" + color + "\">" + value + "</font>" +
" " +
"(<strike>" + oldvalue + "</strike>)";
return htmlRow( newtitle, newvalue );
-
}
static Attendee *findDelegatedFromMyAttendee( Incidence *incidence )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic