*Full* folder name is the instance ID, not just the first part.

This commit is contained in:
Petr Mrázek 2013-02-23 00:56:17 +01:00
parent 3a173648e7
commit 4fd5bdb01b

View File

@ -28,7 +28,7 @@ Instance::Instance(const QString &rootDir, QObject *parent) :
QString Instance::id() const
{
return QFileInfo(rootDir()).baseName();
return QFileInfo(rootDir()).fileName();
}
QString Instance::rootDir() const