summaryrefslogtreecommitdiffstats
path: root/src/preferences
diff options
context:
space:
mode:
authorSwiftb0y <12380386+Swiftb0y@users.noreply.github.com>2021-04-18 20:34:17 +0200
committerSwiftb0y <12380386+Swiftb0y@users.noreply.github.com>2021-04-19 13:08:06 +0200
commitd989d73709e1ea188768352d3675cf20b0901c06 (patch)
treec40bddc00a3c8ef6c5ce23861822b3cad64e1d1c /src/preferences
parent14b7560f8bca1d04abf01bb01f53ec3dadf596e8 (diff)
ColorPaletteEditorModel: fix if branch braces
Diffstat (limited to 'src/preferences')
-rw-r--r--src/preferences/colorpaletteeditormodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/preferences/colorpaletteeditormodel.cpp b/src/preferences/colorpaletteeditormodel.cpp
index 8c4d302d73..f726639c9c 100644
--- a/src/preferences/colorpaletteeditormodel.cpp
+++ b/src/preferences/colorpaletteeditormodel.cpp
@@ -157,8 +157,9 @@ ColorPalette ColorPaletteEditorModel::getColorPalette(
QStandardItem* pColorItem = item(i, 0);
auto* pHotcueIndexItem = toHotcueIndexListItem(item(i, 1));
- if (!pHotcueIndexItem)
+ if (!pHotcueIndexItem) {
continue;
+ }
mixxx::RgbColor::optional_t color =
mixxx::RgbColor::fromQString(pColorItem->text());