diff options
Diffstat (limited to 'doc/en/faq.docbook')
-rw-r--r-- | doc/en/faq.docbook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/faq.docbook b/doc/en/faq.docbook index 43e78113..7c16f582 100644 --- a/doc/en/faq.docbook +++ b/doc/en/faq.docbook @@ -684,7 +684,7 @@ When defining a score for a track which has been played before, the calculation score = ( ( values[2].toDouble() * values.first().toInt() ) + percentage ) / ( values.first().toInt() + 1 );</para> <para>Substituting in the values from this line:</para> <programlisting> - QStringList values = query( QString( + QStringList values = query( TQString( "SELECT playcounter, createdate, percentage FROM statistics " "WHERE url = '%1';" ) .arg( escapeString( url ) ) ); |