1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 13:43:11 +02:00

Style and debug spam cleanup

This commit is contained in:
Dominik Schmidt
2014-11-17 16:13:08 +01:00
parent b3ace2f05a
commit 91af16fc18
2 changed files with 4 additions and 10 deletions

View File

@@ -1020,7 +1020,8 @@ JSResolver::callOnResolver( const QString& scriptSource )
}
QString JSResolver::escape( const QString& source )
QString
JSResolver::escape( const QString& source )
{
QString copy = source;
return copy.replace( "\\", "\\\\" ).replace( "'", "\\'" );