Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 15337 → Rev 15338

/trunk/Scribus/scribus/plugins/saveastemplateplugin/satemplate.cpp
112,7 → 112,6
}
void MenuSAT::RunSATPlug(ScribusDoc* doc)
{
qDebug()<<"old"<<doc->DocName;
QDir templates(ScPaths::getApplicationDataDir());
if (!templates.exists("templates"))
{
139,7 → 138,6
return;
if (oldCollect != ".")
dirs->set("collect", oldCollect);
qDebug()<<"new"<<doc->DocName;
QString docPath = doc->DocName;
QString docDir = docPath.left(docPath.lastIndexOf('/'));
QString docName = docPath.right(docPath.length() - docPath.lastIndexOf('/') - 1);