Skip to content

Commit

Permalink
remove #define KEY_COLORS_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
danferns committed Jul 12, 2024
1 parent 7c9e602 commit f75ec58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/preferences/colorpalettesettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#include "preferences/usersettings.h"
#include "util/color/colorpalette.h"

#define KEY_COLORS_ENABLED "KeyColorsEnabled"

// Saves ColorPalettes to and loads ColorPalettes from the mixxx.cfg file
class ColorPaletteSettings {
public:
Expand All @@ -27,7 +25,7 @@ class ColorPaletteSettings {
void removePalette(const QString& name);
QSet<QString> getColorPaletteNames() const;

DEFINE_PREFERENCE_HELPERS(KeyColorsEnabled, bool, "[Config]", KEY_COLORS_ENABLED, true);
DEFINE_PREFERENCE_HELPERS(KeyColorsEnabled, bool, "[Config]", "KeyColorsEnabled", true);

private:
UserSettingsPointer m_pConfig;
Expand Down

0 comments on commit f75ec58

Please sign in to comment.