make const-to-be arrays (of pointers) const and non-variable
svn path=/trunk/KDE/kdebase/workspace/; revision=920918
This commit is contained in:
parent
4de600e9c1
commit
9e9c18796f
1 changed files with 2 additions and 2 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue