Distance double clicks control
[chessclock] / chessclockwindow.cpp
index 7e49c0e..b30b5f3 100644 (file)
@@ -113,11 +113,7 @@ void ChessClockWindow::startGame(TimeControl *timecontrol)
     ClocksWidget* newWidget = timecontrol->initGame(false);
     if( newWidget )
     {
-        if( clocks_ )
-        {
-            stack_->removeWidget(clocks_);
-            delete clocks_;
-        }
+
         clocks_ = newWidget;
         stack_->addWidget(clocks_);
         stack_->setCurrentWidget(clocks_);