Changeset 6392 for trunk/qt-gui

Show
Ignore:
Timestamp:
07/02/08 09:07:06 (5 months ago)
Author:
eugene
Message:

Avoid the warning: deprecated conversion from string constant to ‘char*’.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/src/wharf.cpp

    r6381 r6392  
    9494  XClassHint classhint;  // class hints 
    9595  XSizeHints sizeHints; 
    96   classhint.res_name = "licq";  // res_name 
    97   classhint.res_class = "Wharf";  // res_class 
     96  classhint.res_name = const_cast<char*>("licq");  // res_name 
     97  classhint.res_class = const_cast<char*>("Wharf");  // res_class 
    9898  XSetClassHint(dsp, win, &classhint); // set the class hints 
    9999  sizeHints.flags= USPosition;