diff --git a/src/controllers/controllerpreset.h b/src/controllers/controllerpreset.h index f129e99b7c45..120d7b007e7d 100644 --- a/src/controllers/controllerpreset.h +++ b/src/controllers/controllerpreset.h @@ -57,14 +57,6 @@ class ControllerPreset { return m_scripts; } - void setModuleFileInfo(QFileInfo fileInfo) { - m_moduleFileInfo = fileInfo; - } - - QFileInfo moduleFileInfo() const { - return m_moduleFileInfo; - } - inline void setDirty(bool bDirty) { m_bDirty = bDirty; } @@ -186,7 +178,6 @@ class ControllerPreset { QString m_mixxxVersion; QList m_scripts; - QFileInfo m_moduleFileInfo; }; typedef QSharedPointer ControllerPresetPointer; diff --git a/src/controllers/controllerpresetfilehandler.cpp b/src/controllers/controllerpresetfilehandler.cpp index f181c9081fc0..6d147a6e8858 100644 --- a/src/controllers/controllerpresetfilehandler.cpp +++ b/src/controllers/controllerpresetfilehandler.cpp @@ -144,9 +144,6 @@ void ControllerPresetFileHandler::addScriptFilesToPreset( preset->addScriptFile(filename, functionPrefix, file); scriptFile = scriptFile.nextSiblingElement("file"); } - - QString moduleFileName = controller.firstChildElement("module").text(); - preset->setModuleFileInfo(preset->dirPath().absoluteFilePath(moduleFileName)); } bool ControllerPresetFileHandler::writeDocument(