const array is const.

This commit is contained in:
Teo Mrnjavac 2015-04-28 15:55:09 +02:00
parent 96c840e878
commit 2c9d6fff17

View File

@ -31,7 +31,7 @@
static const int NUM_PARTITION_COLORS = 5; static const int NUM_PARTITION_COLORS = 5;
static const int NUM_NEW_PARTITION_COLORS = 4; static const int NUM_NEW_PARTITION_COLORS = 4;
//Let's try to use the Breeze palette //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 "#2980b9", //Dark Plasma Blue
"#27ae60", //Dark Icon Green "#27ae60", //Dark Icon Green
@ -39,7 +39,7 @@ static QColor PARTITION_COLORS[ NUM_PARTITION_COLORS ] =
"#3daee9", //Plasma Blue "#3daee9", //Plasma Blue
"#9b59b6", //Purple "#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 "#c0392b", //Dark Icon Red
"#f39c1f", //Dark Icon Yellow "#f39c1f", //Dark Icon Yellow