Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dtk
dtk
Commits
ead40ba6
Commit
ead40ba6
authored
Nov 08, 2018
by
NICLAUSSE Nicolas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove null chars added by conda in default path
parent
8beec1e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/dtkComposer/dtkComposer.cpp
src/dtkComposer/dtkComposer.cpp
+3
-2
No files found.
src/dtkComposer/dtkComposer.cpp
View file @
ead40ba6
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment