diff plugin/PluginIdentifier.cpp @ 82:bf42d8d63885

* Some work on reloading play parameters from file (not quite working yet) * Win32: redirect stderr to console * A bit of menu reorganisation
author Chris Cannam
date Wed, 26 Apr 2006 14:09:55 +0000
parents d397ea0a79f5
children 5ae5885d6ce3
line wrap: on
line diff
--- a/plugin/PluginIdentifier.cpp	Tue Apr 25 22:14:43 2006 +0000
+++ b/plugin/PluginIdentifier.cpp	Wed Apr 26 14:09:55 2006 +0000
@@ -20,13 +20,14 @@
 
 #include "PluginIdentifier.h"
 #include <iostream>
+#include <QFileInfo>
 
 QString
 PluginIdentifier::createIdentifier(QString type,
 				   QString soName,
 				   QString label)
 {
-    QString identifier = type + ":" + soName + ":" + label;
+    QString identifier = type + ":" + QFileInfo(soName).baseName() + ":" + label;
     return identifier;
 }