Commit ead40ba6 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

remove null chars added by conda in default path

parent 8beec1e8
......@@ -114,8 +114,9 @@ namespace dtkComposer
composer_settings.endGroup();
if (realpath.isEmpty()) {
realpath = QDir(DTK_INSTALL_PREFIX).filePath("plugins/dtkComposer");
QString dtk_prefix = DTK_INSTALL_PREFIX;
// ugly: remove null characters added by conda
realpath = QDir::cleanPath(dtk_prefix.remove(QChar::Null) + "/plugins/dtkComposer");
dtkDebug() << "no composer plugin path configured, use default:" << realpath ;
}
pluginManager().initialize(realpath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment