projects
/
chessclock
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Distance double clicks control
[chessclock]
/
chessclockwindow.cpp
diff --git
a/chessclockwindow.cpp
b/chessclockwindow.cpp
index
7e49c0e
..
b30b5f3
100644
(file)
--- a/
chessclockwindow.cpp
+++ b/
chessclockwindow.cpp
@@
-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_);