From 519ba038cffd559c20e3a32438736428d2995e35 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 28 Oct 2014 18:30:37 +0100 Subject: [PATCH] Fix build on Qt 5.4, again. --- 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 f81afe659..8218dff8e 100644 --- a/src/libcalamaresui/modulesystem/ViewModule.cpp +++ b/src/libcalamaresui/modulesystem/ViewModule.cpp @@ -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 )