mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Removed old sql escaping helper in TomahawkUtils.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user