From 8d36a13d9289f7a33203be607a3834379eb8ebff Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 10 Jul 2014 16:29:48 +0200 Subject: [PATCH] Style fix. --- src/libcalamaresui/modulesystem/ViewModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.