@ -3601,7 +3601,7 @@ TQString KPrDocument::templateFileName( bool chooseTemplate, const TQString &the
TQString fileName ;
TQString fileName ;
if ( ! chooseTemplate ) {
if ( ! chooseTemplate ) {
if ( theFile . isEmpty ( ) )
if ( theFile . isEmpty ( ) )
fileName = locateLocal ( " app data" , " default.kpr" ) ;
fileName = locateLocal ( " data" , " kpresenter/ default.kpr" ) ;
else
else
fileName = theFile ;
fileName = theFile ;
} else {
} else {
@ -3617,7 +3617,7 @@ TQString KPrDocument::templateFileName( bool chooseTemplate, const TQString &the
KURL src , dest ;
KURL src , dest ;
src . setPath ( fileName ) ;
src . setPath ( fileName ) ;
dest . setPath ( locateLocal ( " app data" , " default.kpr" ) ) ;
dest . setPath ( locateLocal ( " data" , " kpresenter/ default.kpr" ) ) ;
kdDebug ( 33001 ) < < " Copying template (in KPrDocument::templateFileName) " < < endl
kdDebug ( 33001 ) < < " Copying template (in KPrDocument::templateFileName) " < < endl
< < " from: " < < src . prettyURL ( ) < < endl
< < " from: " < < src . prettyURL ( ) < < endl
< < " to: " < < dest . prettyURL ( ) < < endl ;
< < " to: " < < dest . prettyURL ( ) < < endl ;