1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

* Removed old sql escaping helper in TomahawkUtils.

This commit is contained in:
Christian Muehlhaeuser 2012-06-07 08:34:20 +02:00
parent 077409ae7e
commit 8c9d209940
2 changed files with 0 additions and 8 deletions

View File

@ -178,13 +178,6 @@ appLogDir()
}
QString
sqlEscape( QString sql )
{
return sql.replace( "'", "''" );
}
QString
timeToString( int seconds )
{

View File

@ -94,7 +94,6 @@ namespace TomahawkUtils
DLLEXPORT QDir appDataDir();
DLLEXPORT QDir appLogDir();
DLLEXPORT QString sqlEscape( QString sql );
DLLEXPORT QString timeToString( int seconds );
DLLEXPORT QString ageToString( const QDateTime& time, bool appendAgoString = false );
DLLEXPORT QString filesizeToString( unsigned int size );