summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/GraphCanvas.cpp2
-rw-r--r--src/gui/ThreadedLoader.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp
index 931cc23f..6ff2abed 100644
--- a/src/gui/GraphCanvas.cpp
+++ b/src/gui/GraphCanvas.cpp
@@ -685,7 +685,7 @@ GraphCanvas::paste()
// Parse clipboard text into clipboard store
boost::optional<URI> base_uri = parser->parse_string(
- _app.world(), &clipboard, str, main_uri());
+ *_app.world(), clipboard, str, main_uri());
// Figure out the copy graph base path
Raul::Path copy_root("/");
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp
index cd7b1594..a7115de6 100644
--- a/src/gui/ThreadedLoader.cpp
+++ b/src/gui/ThreadedLoader.cpp
@@ -105,8 +105,8 @@ ThreadedLoader::load_graph_event(const FilePath& file_path,
{
std::lock_guard<std::mutex> lock(_app.world()->rdf_mutex());
- _app.world()->parser()->parse_file(_app.world(),
- _app.world()->interface().get(),
+ _app.world()->parser()->parse_file(*_app.world(),
+ *_app.world()->interface(),
file_path,
engine_parent,
engine_symbol,