[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/edu/kanagram/src
From: Joshua Keel <joshuakeel () gmail ! com>
Date: 2005-08-05 21:02:50
Message-ID: 1123275770.231724.19154.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 443352 by jkeel:
Make the input box ignore uppercase/lowercase distinctions
M +1 -5 kanagram.cpp
--- trunk/playground/edu/kanagram/src/kanagram.cpp #443351:443352
@@ -201,10 +201,6 @@
//Draw the border of the Up arrow
borderRect = m_upRect;
p.fillRect(borderRect, m_fillColor);
- //borderRect.setLeft(borderRect.left() - 2);
- //borderRect.setTop(borderRect.top() - 2);
- //borderRect.setWidth(borderRect.width() + 2 * 1);
- //borderRect.setHeight(borderRect.height() + 2 * 1);
p.drawRoundRect(borderRect, 10, 5);
if(m_overUp)
@@ -364,7 +360,7 @@
if(m_upRect.contains(e->pos()))
{
- if(m_inputBox->text() == m_game.getWord())
+ if(m_inputBox->text().lower() == m_game.getWord())
{
m_inputBox->unsetPalette();
m_inputBox->clear();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic