Make QCalendarDateSectionValidator::highlightString() static
Change-Id: Ib52b41ef8e905d9946032448da9d3b312de7071d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
7ee74f870b
commit
a5e987bca9
@ -86,11 +86,11 @@ public:
|
||||
QLocale m_locale;
|
||||
|
||||
protected:
|
||||
QString highlightString(const QString &str, int pos) const;
|
||||
static QString highlightString(const QString &str, int pos);
|
||||
private:
|
||||
};
|
||||
|
||||
QString QCalendarDateSectionValidator::highlightString(const QString &str, int pos) const
|
||||
QString QCalendarDateSectionValidator::highlightString(const QString &str, int pos)
|
||||
{
|
||||
if (pos == 0)
|
||||
return QLatin1String("<b>") + str + QLatin1String("</b>");
|
||||
|
Loading…
Reference in New Issue
Block a user