Commit 4f72a3fb authored by Denis Kuplyakov's avatar Denis Kuplyakov

Added some TODO's through code.

GIT_SILENT
parent f5f83ddd
......@@ -233,7 +233,7 @@ void KReversiView::gameOver()
void KReversiView::whitePlayerCantMove()
{
/// TODO: use Computer, You and Opponent instead in message
// TODO: use Computer, You and Opponent instead in message
QMetaObject::invokeMethod(m_qml_root, "showPopup",
Q_ARG(QVariant,
i18n("White player can not perform any move. It is black turn again.")));
......@@ -242,7 +242,7 @@ void KReversiView::whitePlayerCantMove()
void KReversiView::blackPlayerCantMove()
{
/// TODO: use Computer, You and Opponent instead in message
// TODO: use Computer, You and Opponent instead in message
QMetaObject::invokeMethod(m_qml_root, "showPopup",
Q_ARG(QVariant,
i18n("Black player can not perform any move. It is white turn again.")));
......
......@@ -15,6 +15,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* TODO: make this two constant below accessible through c++ to use them
everywhere instead of hardcoded 8 x 8 */
/**
* Number of columns on board
*/
......
......@@ -101,6 +101,7 @@ void StartGameDialog::loadChipImages()
delete painter;
painter = new QPainter(&whiteChip);
// TODO: get 12 from some global constant that is shared with QML
svgRenderer.render(painter, prefix + "_12");
delete painter;
......
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