From 539e15a5231d5be50c1dd7f67029358a5eac8273 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 25 Apr 2021 19:35:31 +0300 Subject: Code cleanup Signed-off-by: Mavridis Philippe --- src/komposetaskcontainerwidget.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/komposetaskcontainerwidget.cpp') diff --git a/src/komposetaskcontainerwidget.cpp b/src/komposetaskcontainerwidget.cpp index d814ccc..ccf3767 100644 --- a/src/komposetaskcontainerwidget.cpp +++ b/src/komposetaskcontainerwidget.cpp @@ -106,38 +106,22 @@ void KomposeTaskContainerWidget::keyReleaseEvent ( TQKeyEvent * e ) switch( e->key() ) { case TQt::Key_Right: - direction = DLAYOUT_RIGHT; - break; case TQt::Key_D: - direction = DLAYOUT_RIGHT; - break; case TQt::Key_L: direction = DLAYOUT_RIGHT; break; case TQt::Key_Left: - direction = DLAYOUT_LEFT; - break; case TQt::Key_A: - direction = DLAYOUT_LEFT; - break; case TQt::Key_H: direction = DLAYOUT_LEFT; break; case TQt::Key_Up: - direction = DLAYOUT_TOP; - break; case TQt::Key_W: - direction = DLAYOUT_TOP; - break; case TQt::Key_K: direction = DLAYOUT_TOP; break; case TQt::Key_Down: - direction = DLAYOUT_BOTTOM; - break; case TQt::Key_S: - direction = DLAYOUT_BOTTOM; - break; case TQt::Key_J: direction = DLAYOUT_BOTTOM; break; -- cgit v1.2.3