[mythtv-commits] Re: Ticket #699: AutoExpire::FillDBOrdered uses ints for filesizes

MythTV mythtv at cvs.mythtv.org
Wed Nov 23 09:13:06 EST 2005


#699: AutoExpire::FillDBOrdered uses ints for filesizes
-------------------------------------+--------------------------------------
 Reporter:  Robert Tsai <rtsai1111>  |        Owner:  cpinkham
     Type:  patch                    |       Status:  new     
 Priority:  minor                    |    Milestone:          
Component:  mythtv                   |      Version:  head    
 Severity:  medium                   |   Resolution:          
-------------------------------------+--------------------------------------
Comment (by Robert Tsai <rtsai1111>):

 Dividing by 1024 in the SQL query (and re-multiplying the result by 1024)
 works, but I don't like it. The code in programinfo.cpp does something
 different:

 {{{
 filesize = stringToLongLong(query.value(xx).toString());
 }}}

 So I'll do that.

 QString::stringToLongLong appears to be new to qt-3.2; I assume its use in
 programinfo.cpp means it's OK? The QT version prerequisites and/or support
 requirements are not in the mythtv.org documentation for compiling source
 code ...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/699>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list