From 2c9d6fff17074411d0a29998e6eaedd491466624 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 28 Apr 2015 15:55:09 +0200 Subject: [PATCH] const array is const. --- src/modules/partition/core/ColorUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/partition/core/ColorUtils.cpp b/src/modules/partition/core/ColorUtils.cpp index 1a0fd296d..a862322ef 100644 --- a/src/modules/partition/core/ColorUtils.cpp +++ b/src/modules/partition/core/ColorUtils.cpp @@ -31,7 +31,7 @@ static const int NUM_PARTITION_COLORS = 5; static const int NUM_NEW_PARTITION_COLORS = 4; //Let's try to use the Breeze palette -static QColor PARTITION_COLORS[ NUM_PARTITION_COLORS ] = +static const QColor PARTITION_COLORS[ NUM_PARTITION_COLORS ] = { "#2980b9", //Dark Plasma Blue "#27ae60", //Dark Icon Green @@ -39,7 +39,7 @@ static QColor PARTITION_COLORS[ NUM_PARTITION_COLORS ] = "#3daee9", //Plasma Blue "#9b59b6", //Purple }; -static QColor NEW_PARTITION_COLORS[ NUM_NEW_PARTITION_COLORS ] = +static const QColor NEW_PARTITION_COLORS[ NUM_NEW_PARTITION_COLORS ] = { "#c0392b", //Dark Icon Red "#f39c1f", //Dark Icon Yellow