Fix build on Qt 5.4, again.
This commit is contained in:
parent
633c8512c2
commit
519ba038cf
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user