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:
parent
077409ae7e
commit
8c9d209940
@ -178,13 +178,6 @@ appLogDir()
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
sqlEscape( QString sql )
|
||||
{
|
||||
return sql.replace( "'", "''" );
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
timeToString( int seconds )
|
||||
{
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user