From ba41902cf19e6f58c99761bf36ee61864b076320 Mon Sep 17 00:00:00 2001 From: Maurizio Monge Date: Sat, 7 Jul 2007 01:37:44 +0100 Subject: [PATCH] Started to make things work: show the board. --- src/graphicalsystem.cpp | 4 ++-- src/movelist_table.cpp | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/graphicalsystem.cpp b/src/graphicalsystem.cpp index 34b3983..6e8a076 100644 --- a/src/graphicalsystem.cpp +++ b/src/graphicalsystem.cpp @@ -45,8 +45,8 @@ GraphicalSystem::GraphicalSystem(ChessTable* view, m_animator = m_variant->createAnimator(this); - //settings.onChange(m_proxy, SLOT(settingsChanged())); - //settingsChanged(); + settings.onChange( this, SLOT(settingsChanged())); + settingsChanged(); if (startingPosition) warp(AbstractMove::Ptr(), startingPosition); diff --git a/src/movelist_table.cpp b/src/movelist_table.cpp index 9cd79a4..3017b11 100644 --- a/src/movelist_table.cpp +++ b/src/movelist_table.cpp @@ -70,8 +70,9 @@ Table::Table(QWidget* w) m_scroll_area->resize(50,100); tw->addTab(m_scroll_area, KIcon("prefMoveList"), "&List"); - m_movelist_textual = new Textual(tw); - tw->addTab(m_movelist_textual->widget(), KIcon("html"), "&Html"); + m_movelist_textual = NULL; + //m_movelist_textual = new Textual(tw); + //tw->addTab(m_movelist_textual->widget(), KIcon("html"), "&Html"); } void Table::settingsChanged() { -- 2.11.4.GIT