diff --git a/source/main.cpp b/source/main.cpp index 07dc11df9..8323a2b5f 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -53,7 +53,7 @@ int main(int argc, char **argv) { ContentRegistry::Views::add(); if (argc > 1) - View::postEvent(Events::FileDropped, argv[1]); + View::postEvent(Events::FileDropped, const_cast(argv[1])); window.loop();