Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 21862 → Rev 21863

/branches/Version14x/Scribus/scribus/scrapbookpalette.cpp
184,6 → 184,7
QDir dd = QDir(dir);
dd.mkdir(QDir::cleanPath(QDir::toNativeSeparators(dir + "/" + fid.baseName())));
}
QString baseDir = QDir::homePath();
QString source = "";
QString target = "";
bool first = true;
207,7 → 208,7
source = QDir::cleanPath(QDir::toNativeSeparators(Pfile));
else
{
QFileInfo pfi2(QDir::cleanPath(QDir::toNativeSeparators(dir+"/"+Pfile)));
QFileInfo pfi2(QDir::cleanPath(QDir::toNativeSeparators(baseDir+"/"+Pfile)));
source = pfi2.absoluteFilePath();
}
QString target = QDir::cleanPath(QDir::toNativeSeparators(dir + "/" + fid.baseName() + "/" + fi.fileName()));
222,7 → 223,7
source = QDir::cleanPath(QDir::toNativeSeparators(Pfile2));
else
{
QFileInfo pfi2(QDir::cleanPath(QDir::toNativeSeparators(dir+"/"+Pfile2)));
QFileInfo pfi2(QDir::cleanPath(QDir::toNativeSeparators(baseDir+"/"+Pfile2)));
source = pfi2.absoluteFilePath();
}
QString target = QDir::cleanPath(QDir::toNativeSeparators(dir + "/" + fid.baseName() + "/" + fi.fileName()));
237,7 → 238,7
source = QDir::cleanPath(QDir::toNativeSeparators(Pfile3));
else
{
QFileInfo pfi2(QDir::cleanPath(QDir::toNativeSeparators(dir+"/"+Pfile3)));
QFileInfo pfi2(QDir::cleanPath(QDir::toNativeSeparators(baseDir+"/"+Pfile3)));
source = pfi2.absoluteFilePath();
}
QString target = QDir::cleanPath(QDir::toNativeSeparators(dir + "/" + fid.baseName() + "/" + fi.fileName()));