Skip to content
Snippets Groups Projects
Commit 8a038f17 authored by Ballabriga Clément's avatar Ballabriga Clément
Browse files

Fix path conversion for gel_open

parent 0376f1a7
Branches
No related tags found
No related merge requests found
......@@ -357,7 +357,7 @@ WorkSpace *Manager::loadBin(
// Try with gel
if(!loader) {
gel_file_t *file = gel_open((char *)&path, 0, GEL_OPEN_QUIET);
gel_file_t *file = gel_open(path.toString().toCString().chars(), 0, GEL_OPEN_QUIET);
if(!file) {
resetVerbosity();
throw LoadException(gel_strerror());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment