diff options
Diffstat (limited to 'src/kernel/qcolor_x11.cpp')
| -rw-r--r-- | src/kernel/qcolor_x11.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qcolor_x11.cpp b/src/kernel/qcolor_x11.cpp index 38080b42a..4328babc0 100644 --- a/src/kernel/qcolor_x11.cpp +++ b/src/kernel/qcolor_x11.cpp @@ -242,12 +242,12 @@ void TQColor::initialize() // we allocated. screendata[scr]->g_cells = TQMIN(ncols,256); screendata[scr]->g_carr = new XColor[screendata[scr]->g_cells]; - Q_CHECK_PTR( screendata[scr]->g_carr ); + TQ_CHECK_PTR( screendata[scr]->g_carr ); memset( screendata[scr]->g_carr, 0, screendata[scr]->g_cells*sizeof(XColor) ); screendata[scr]->g_carr_fetch = TRUE; // run XQueryColors on demand screendata[scr]->g_our_alloc = new bool[screendata[scr]->g_cells]; - Q_CHECK_PTR( screendata[scr]->g_our_alloc ); + TQ_CHECK_PTR( screendata[scr]->g_our_alloc ); memset( screendata[scr]->g_our_alloc, FALSE, screendata[scr]->g_cells*sizeof(bool) ); XColor *xc = &screendata[scr]->g_carr[0]; @@ -273,7 +273,7 @@ void TQColor::initialize() dictsize = col_std_dict; } screendata[scr]->colorDict = new TQColorDict(dictsize); // create dictionary - Q_CHECK_PTR( screendata[scr]->colorDict ); + TQ_CHECK_PTR( screendata[scr]->colorDict ); if ( spec == (int)TQApplication::ManyColor ) { screendata[scr]->color_reduce = TRUE; @@ -572,7 +572,7 @@ uint TQColor::alloc( int screen ) } if ( !many || current_alloc_context != 0 ) { c = new TQColorData; // insert into color dict - Q_CHECK_PTR( c ); + TQ_CHECK_PTR( c ); c->pix = pix; c->context = current_alloc_context; sd->colorDict->insert( (long)d.argb, c ); // store color in dict |
