Commit 0b0db2fd authored by Inge Wallin's avatar Inge Wallin

Fix compilation and a few warnings at the same time.

svn path=/trunk/KDE/kdegames/ksudoku/; revision=671461
parent d8468cc6
......@@ -185,9 +185,9 @@ void ksudokuView::btn_enter(int x, int y)
//printf("(%d %d) %d\n", y, x, index);
int count = 0;
for(int i=0; i<g->cliques.size(); i++)
for(uint i=0; i<g->cliques.size(); i++)
{
for(int j=0; j<g->cliques[i].size(); j++)
for(uint j=0; j<g->cliques[i].size(); j++)
{
if(g->cliques[i][j]==index)
{
......@@ -203,7 +203,7 @@ void ksudokuView::btn_enter(int x, int y)
mask = HighlightClique;
break;
}
for(int k=0; k<g->cliques[i].size(); k++)
for(uint k=0; k<g->cliques[i].size(); k++)
{
// m_buttons[g->cliques[i][k]]->setHighlight(mask);
m_highlightUpdate[g->cliques[i][k]] |= mask;
......
......@@ -47,12 +47,15 @@ void KsView::draw(QPainter& /*p*/, int /*height*/, int /*width*/) const
}
void KsView::selectValue(int value) {
Q_UNUSED( value );
}
void KsView::enterValue(int value) {
Q_UNUSED( value );
}
void KsView::markValue(int value) {
Q_UNUSED( value );
}
void KsView::moveUp() {
......
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