|
|
@ -493,7 +493,7 @@ void BatchRenamer::findNumberAppendix( TQString & text, int pos, int* start, int
|
|
|
|
|
|
|
|
|
|
|
|
if( text[pos] == '{' && (end = text.find( "}", pos )) > -1)
|
|
|
|
if( text[pos] == '{' && (end = text.find( "}", pos )) > -1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//qDebug("Found an appendix:" + appendix );
|
|
|
|
//tqDebug("Found an appendix:" + appendix );
|
|
|
|
appendix = text.mid( pos + 1, end - pos - 1);
|
|
|
|
appendix = text.mid( pos + 1, end - pos - 1);
|
|
|
|
text.remove( pos, end - pos + 1 );
|
|
|
|
text.remove( pos, end - pos + 1 );
|
|
|
|
|
|
|
|
|
|
|
@ -848,7 +848,7 @@ void BatchRenamer::parseSubdirs( data* f )
|
|
|
|
url.addPath( unEscape( d ) );
|
|
|
|
url.addPath( unEscape( d ) );
|
|
|
|
if( !NetAccess::exists( url ) && !NetAccess::mkdir( url ) )
|
|
|
|
if( !NetAccess::exists( url ) && !NetAccess::mkdir( url ) )
|
|
|
|
// TODO: GUI bug report
|
|
|
|
// TODO: GUI bug report
|
|
|
|
qDebug("Can't create %s", url.prettyURL().latin1() );
|
|
|
|
tqDebug("Can't create %s", url.prettyURL().latin1() );
|
|
|
|
|
|
|
|
|
|
|
|
f->dst.url.addPath( d );
|
|
|
|
f->dst.url.addPath( d );
|
|
|
|
f->dst.directory.append( d + "/" );
|
|
|
|
f->dst.directory.append( d + "/" );
|
|
|
|