From bbb9ff0cbfef6d29bb7c431939a648f582fdc91d Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 18 Feb 2019 10:19:06 -0500 Subject: [PATCH] [libcalamaresui] Remove useless #define --- src/libcalamaresui/modulesystem/ModuleManager.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/libcalamaresui/modulesystem/ModuleManager.cpp b/src/libcalamaresui/modulesystem/ModuleManager.cpp index d2d324451..c909d75cb 100644 --- a/src/libcalamaresui/modulesystem/ModuleManager.cpp +++ b/src/libcalamaresui/modulesystem/ModuleManager.cpp @@ -32,15 +32,10 @@ #include #include -#define MODULE_CONFIG_FILENAME "module.desc" - namespace Calamares { - - ModuleManager* ModuleManager::s_instance = nullptr; - ModuleManager* ModuleManager::instance() { @@ -94,7 +89,7 @@ ModuleManager::doInit() bool success = currentDir.cd( subdir ); if ( success ) { - QFileInfo descriptorFileInfo( currentDir.absoluteFilePath( MODULE_CONFIG_FILENAME ) ); + QFileInfo descriptorFileInfo( currentDir.absoluteFilePath( QLatin1Literal( "module.desc") ) ); if ( ! ( descriptorFileInfo.exists() && descriptorFileInfo.isReadable() ) ) { cDebug() << Q_FUNC_INFO << "unreadable file: "