Handle a fixme.
KWin's debug area is 1212. CCMAIL: Rivo Laks <rivolaks@hot.ee> svn path=/branches/work/kwin_composite/; revision=626743
This commit is contained in:
parent
f9555cf69e
commit
e5f5ecf22e
1 changed files with 2 additions and 5 deletions
|
@ -644,10 +644,7 @@ void SceneOpenGL::Window::createVertexGrid(int xres, int yres)
|
|||
{
|
||||
int oldcount = verticeslist.count();
|
||||
verticeslist.clear();
|
||||
// FIXME: this creates a QRegion out of rectangles just to get the list of
|
||||
// rectangles. Maybe the QRegion construction can be bypassed?
|
||||
QRegion region = shape();
|
||||
foreach( QRect r, region.rects())
|
||||
foreach( QRect r, shape().rects())
|
||||
{
|
||||
// First calculate number of columns/rows that this rect will be
|
||||
// divided into
|
||||
|
@ -673,7 +670,7 @@ void SceneOpenGL::Window::createVertexGrid(int xres, int yres)
|
|||
}
|
||||
}
|
||||
Client* c = qobject_cast<Client *>(window());
|
||||
kDebug() << k_funcinfo << "'" << (c ? c->caption() : "") << "': Resized vertex grid from " <<
|
||||
kDebug( 1212 ) << k_funcinfo << "'" << (c ? c->caption() : "") << "': Resized vertex grid from " <<
|
||||
oldcount/4 << " quads (minreso: " << currentXResolution << "x" << currentYResolution <<
|
||||
") to " << verticeslist.count()/4 << " quads (minreso: " << xres << "x" << yres << ")" << endl;
|
||||
|
||||
|
|
Loading…
Reference in a new issue