Subversion Repositories svn1

Rev

Rev 386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 386 Rev 390
Line 138... Line 138...
138
----------------------------------------------------------------------------*/
138
----------------------------------------------------------------------------*/
139
 
139
 
140
 
140
 
141
QString timeDelegate::displayText ( const QVariant & value, const QLocale & locale ) const
141
QString timeDelegate::displayText ( const QVariant & value, const QLocale & locale ) const
142
{
142
{
-
 
143
    Q_UNUSED(locale);
143
    if ( value.toTime().isValid())
144
    if ( value.toTime().isValid())
144
    {
145
    {
145
        return (value.toTime().toString("hh:mm:ss"));
146
        return (value.toTime().toString("hh:mm:ss"));
146
    }
147
    }
147
    return (QString("--:--:--"));
148
    return (QString("--:--:--"));