diff --git a/src/libcalamaresui/modulesystem/ViewModule.cpp b/src/libcalamaresui/modulesystem/ViewModule.cpp index 0e7e50b54..7307c1d60 100644 --- a/src/libcalamaresui/modulesystem/ViewModule.cpp +++ b/src/libcalamaresui/modulesystem/ViewModule.cpp @@ -72,7 +72,7 @@ ViewModule::initFrom( const YAML::Node& node ) QString load; if ( node[ "load" ] ) { - load = QString::fromStdString( node[ "load" ].as() ); + load = QString::fromStdString( node[ "load" ].as< std::string >() ); load = directory.absoluteFilePath( load ); } // If a load path is not specified, we look for a plugin to load in the directory.