From 9e9c18796f8600210941c1fa68234075ef4dcd22 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Wed, 4 Feb 2009 01:11:19 +0000 Subject: [PATCH] make const-to-be arrays (of pointers) const and non-variable svn path=/trunk/KDE/kdebase/workspace/; revision=920918 --- clients/kwmtheme/kwmthemeclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/kwmtheme/kwmthemeclient.cpp b/clients/kwmtheme/kwmthemeclient.cpp index 7db77b2bfe..7b120a54c7 100644 --- a/clients/kwmtheme/kwmthemeclient.cpp +++ b/clients/kwmtheme/kwmthemeclient.cpp @@ -92,7 +92,7 @@ static bool titleTransparent; static void create_pixmaps() { - const char *keys[] = {"wm_top", "wm_bottom", "wm_left", "wm_right", + const char * const keys[] = {"wm_top", "wm_bottom", "wm_left", "wm_right", "wm_topleft", "wm_topright", "wm_bottomleft", "wm_bottomright"}; if(pixmaps_created) @@ -292,7 +292,7 @@ void KWMThemeClient::init() QString val; MyButton *btn; int i; - static const char *defaultButtons[]={"Menu","Sticky","Off","Iconify", + static const char * const defaultButtons[]={"Menu","Sticky","Off","Iconify", "Maximize","Close"}; static const char keyOffsets[]={"ABCDEF"}; for(i=0; i < 6; ++i){