Commit b56f57a1 authored by Dmitry Suzdalev's avatar Dmitry Suzdalev
Browse files

Don't add values manually - this breaks themeing

svn path=/trunk/KDE/kdegames/klines/; revision=695216
parent cfa99959
......@@ -83,8 +83,8 @@ public:
*/
inline QPointF fieldToPix(const FieldPos& fpos) const
{
return QPointF( m_playFieldOrigin.x()+fpos.x*m_cellSize + m_cellSize * 0.05 ,
m_playFieldOrigin.y()+fpos.y*m_cellSize + m_cellSize * 0.05 );
return QPointF( m_playFieldOrigin.x()+fpos.x*m_cellSize,
m_playFieldOrigin.y()+fpos.y*m_cellSize );
}
/**
* Pixel coords to field coords
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment