-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Controllers: Don't needlessly copy presets into user directory #2569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
66585a6
controllers/controllermanager: Make use of the getPresetPaths() function
Holzhaus 05f7ce4
controllers/controllermanager: Rename function to sanitizeString
Holzhaus d7269cf
controllers/controllermanager: Rework device setup code
Holzhaus 8813212
controllers: Preselect configured mapping in preferences if available
Holzhaus 29b1df8
controllers/dlgprefcontroller: Fix reset of combobox item on apply
Holzhaus 2e314f5
controllers/controllerpresetinfo: Remove unused header file
Holzhaus bc92e0d
controllers/dlgprefcontroller: Separate user and system presets
Holzhaus 2730b6a
controllers/controllermanager: Always write preset to config on exit
Holzhaus 8b46ef0
controllers/midi: Make MidiControllerPreset's mappings private
Holzhaus 436cd88
controllers: Only write preset to user directory if it's dirty
Holzhaus 7f08658
controllers/dlgprefcontroller: Don't import scripts into user directory
Holzhaus d94a183
controllers/controllermanager: Rename sanitizeString and move to anon NS
Holzhaus 3e0729a
controllers/controllermanager: Fix assertion if no preset is configured
Holzhaus 8a30f3a
controllers/controllermanager: Use qDebug() instead of qWarning()
Holzhaus 5277c50
controllers/dlgprefcontroller: Move shared enumeration code to method
Holzhaus 6367448
controllers/dlgprefcontroller: Improve some comments
Holzhaus c2e2db6
controllers/controllermanager: Improve device setup code
Holzhaus 08d52d9
controllers/controllermanager: Remove unused variable
Holzhaus fb1573c
controllers/dlgprefcontroller: Add icon to user controller presets
Holzhaus d259421
controllers/controllerpresetinfoenumerator: Add constructor for singl…
Holzhaus 302155e
controllers/dlgprefcontroller: Show Mixxx icon for system presets
Holzhaus 6f5ce05
controllers/dlgprefcontroller: Disable checkbox if no preset selected
Holzhaus cd14e38
controllers/dlgprefcontroller: Rename "..." to "No Preset" and add icon
Holzhaus 00b625f
controllers/controllermanager: Fix typo in debug message
Holzhaus dd1ed97
Merge branch 'master' of github.com:mixxxdj/mixxx into controller-fix…
Holzhaus 12f083e
controllers/midi/midimessage: Use desc in MidiInputMapping == operator
Holzhaus 5ee9c9b
controllers/midi/midimessage: Fix MidiInputMapping == operator
Holzhaus fc97ef7
controllers/controllermanager: Add "(edited)" suffix to changed presets
Holzhaus 390d3dd
controllers: Add some comments to undocumented classes
Holzhaus 02ee5c4
controllers/controllermanager: Remove obsolete importScript method
Holzhaus 98d50b0
controllers: Always load scripts from mapping dir (with system as…
Holzhaus cb12d22
controllers/dlgprefcontroller: Add "(built-in)" to system scripts
Holzhaus 148a4e6
controllers: Move script file search code into ControllerPreset class
Holzhaus 86829df
controllers/controllerpreset: Remove leftover qDebug() statement
Holzhaus 6ac15f1
controllers/controllerpresetfilehandler: Use for loop instead of foreach
Holzhaus 4fe397b
controllers: Move controller script file handling to FileHandler classes
Holzhaus a93cd8d
controllers: Make applyPreset initializeScripts param optional
Holzhaus 4322094
controllers/controllermanager: Replace foreach for for loops
Holzhaus e18e5d6
controllers/controllerpresetfilehandler: Improve script file search code
Holzhaus 814b243
controllers/controllerpresetfilehandler: Remove wrong debug assertion
Holzhaus a0d395f
controllers/controllerpresetfilehandler: Improve comments
Holzhaus e59d465
controllers/dlgprefcontroller: Remove unused presetDir code
Holzhaus d4ee388
controllers/controllerengine: Fix warnings for older Qt5 versions
Holzhaus 13c2d59
controllers: Move savePreset() from Controller into Preset classes
Holzhaus f79cdf2
controllers: Move preset saving from ControllerManger to Preferences
Holzhaus ffec734
controllers/dlgprefcontroller: Reload user presets after saving
Holzhaus c562f66
controllers/dlgprefcontroller: Remove obsolete method
Holzhaus b4db43b
controllers/dlgprefcontroller: Fix dirty detection in slotApply()
Holzhaus 6dcffce
controllers/dlgprefcontroller: Reset dialog dirty state on apply
Holzhaus 47f1ccd
controllers/dlgprefcontroller: Remove wrong dirty state change
Holzhaus 420ceb9
controllers/dlgprefcontroller: Add acomment
Holzhaus 54c38e1
controllers/controllermanager: Return QFileInfo in findPresetFile()
Holzhaus 9dc6ff7
Merge branch 'master' of github.com:mixxxdj/mixxx into controller-fix…
Holzhaus 00ad201
controllers/dlgprefcontroller: Add edited suffix to filenames
Holzhaus 419ccf4
controllers/dlgprefcontroller: Tick Enabled checkbox on preset change
Holzhaus b9079e0
controllers/dlgprefcontroller: Display "No scripts" for scriptless pr…
Holzhaus 4760291
controllers: Fix comments and include guards
Holzhaus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.