summaryrefslogtreecommitdiffstats
path: root/libinstance/src
diff options
context:
space:
mode:
Diffstat (limited to 'libinstance/src')
-rw-r--r--libinstance/src/instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libinstance/src/instance.cpp b/libinstance/src/instance.cpp
index c10286b6..eb9fdff5 100644
--- a/libinstance/src/instance.cpp
+++ b/libinstance/src/instance.cpp
@@ -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