Don't show invalid position.
svn path=/trunk/kdebase/kwin/; revision=333883
This commit is contained in:
parent
7aac7625a7
commit
92e9f94ea2
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue