summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r--muse2/muse/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h
index f5ac9031..fbe6169e 100644
--- a/muse2/muse/plugin.h
+++ b/muse2/muse/plugin.h
@@ -98,8 +98,8 @@ class Plugin {
unsigned long id() const { return _uniqueID; }
QString maker() const { return _maker; }
QString copyright() const { return _copyright; }
- QString lib(bool complete = true) /*const*/ { return fi.baseName(complete); } // ddskrjo const
- QString dirPath(bool complete = true) const { return fi.dirPath(complete); }
+ QString lib(bool complete = true) /*const*/ { return complete ? fi.completeBaseName() : fi.baseName(); } // ddskrjo const
+ QString dirPath(bool complete = true) const { return complete ? fi.absolutePath() : fi.path(); }
QString filePath() const { return fi.filePath(); }
int references() const { return _references; }
int incReferences(int);