Fix build on Qt 5.4, again.

This commit is contained in:
Teo Mrnjavac 2014-10-28 18:30:37 +01:00
parent 633c8512c2
commit 519ba038cf

View File

@ -84,7 +84,7 @@ ViewModule::initFrom( const YAML::Node& node )
// If a load path is not specified, we look for a plugin to load in the directory.
if ( load.isEmpty() || !QLibrary::isLibrary( load ) )
{
QStringList ls = directory.entryList( QStringList() = { "*.so" } );
QStringList ls = directory.entryList( QStringList{ "*.so" } );
if ( !ls.isEmpty() )
{
foreach ( QString entry, ls )