GH-881 Include a top-level directory in exported instances

This commit is contained in:
Petr Mrázek
2015-04-12 20:50:45 +02:00
parent 6775e3e72b
commit c088d3bef0
2 changed files with 95 additions and 2 deletions

View File

@ -22,6 +22,10 @@
QString PathCombine(QString path1, QString path2)
{
if(!path1.size())
return path2;
if(!path2.size())
return path1;
return QDir::cleanPath(path1 + QDir::separator() + path2);
}