Update
This commit is contained in:
parent
799dba4acf
commit
367266d834
3 changed files with 7 additions and 4 deletions
|
@ -103,6 +103,9 @@ set(PROJECT_SOURCES
|
|||
tools/crapnote/crapnote.h
|
||||
tools/crapnote/crapnote.cpp
|
||||
|
||||
games/games.h
|
||||
games/games.cpp
|
||||
|
||||
games/crisscross.ui
|
||||
games/crisscross.h
|
||||
games/crisscross.cpp
|
||||
|
|
|
@ -1942,7 +1942,7 @@ void MainWindow::menu_actionCrissCross_triggered()
|
|||
|
||||
} else {
|
||||
delete this->crisscross;
|
||||
this->crisscross = new CrissCross( this->palette() );
|
||||
this->crisscross = new CrissCross( this->window_theme_id );
|
||||
this->crisscross->show();
|
||||
}
|
||||
}
|
||||
|
@ -1954,7 +1954,7 @@ void MainWindow::menu_actionSnake_triggered()
|
|||
|
||||
} else {
|
||||
delete this->snake;
|
||||
this->snake = new Snake( this->palette(), this->FONTS.at("script") );
|
||||
this->snake = new Snake( this->window_theme_id, this->FONTS.at("script") );
|
||||
this->snake->show();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -710,8 +710,8 @@ private:
|
|||
///////////////////
|
||||
//// CRAPGAMES ////
|
||||
///////////////////
|
||||
CrissCross* crisscross = new CrissCross( QPalette() );
|
||||
Snake* snake = new Snake( QPalette(), QFont() );
|
||||
CrissCross* crisscross = new CrissCross( 0 );
|
||||
Snake* snake = new Snake( 0, QFont() );
|
||||
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
Loading…
Reference in a new issue