Don't show invalid position.

svn path=/trunk/kdebase/kwin/; revision=333883
This commit is contained in:
Luboš Luňák 2004-07-29 16:44:20 +00:00
parent 7aac7625a7
commit 92e9f94ea2

View file

@ -175,6 +175,8 @@ static const Rules::ForceRule combo_to_force_rule[] =
static QString positionToStr( const QPoint& p )
{
if( p == invalidPoint )
return QString::null;
return QString::number( p.x()) + "," + QString::number( p.y());
}