Skip to content

Commit

Permalink
remove hacks for JS modules in legacy controller system
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Jul 12, 2020
1 parent b800259 commit b619006
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions src/controllers/controllerpreset.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -186,7 +178,6 @@ class ControllerPreset {
QString m_mixxxVersion;

QList<ScriptFileInfo> m_scripts;
QFileInfo m_moduleFileInfo;
};

typedef QSharedPointer<ControllerPreset> ControllerPresetPointer;
3 changes: 0 additions & 3 deletions src/controllers/controllerpresetfilehandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b619006

Please sign in to comment.