From 554cdc304204cf81d3df28a2d2556b10e4956388 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Tue, 7 Jul 2015 23:15:32 +0200 Subject: [PATCH] watch.cpp code cleanup --- test/watch.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/watch.cpp b/test/watch.cpp index dff064c2..eab4cd32 100644 --- a/test/watch.cpp +++ b/test/watch.cpp @@ -31,7 +31,6 @@ class watch : public FDialog ~watch(); // destructor void printTime(); void onTimer (FTimerEvent*); - void onAccel (FAccelEvent*); void onClose (FCloseEvent*); void cb_clock (FWidget*, void*); void cb_seconds (FWidget*, void*); @@ -130,13 +129,6 @@ void watch::onTimer (FTimerEvent*) printTime(); } -//---------------------------------------------------------------------- -void watch::onAccel (FAccelEvent* ev) -{ - close(); - ev->accept(); -} - //---------------------------------------------------------------------- void watch::onClose (FCloseEvent* event) {