-rw-r--r-- | core/pim/todo/todotable.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/core/pim/todo/todotable.cpp b/core/pim/todo/todotable.cpp index 877308a..52a3087 100644 --- a/core/pim/todo/todotable.cpp +++ b/core/pim/todo/todotable.cpp | |||
@@ -308,5 +308,2 @@ void TodoTable::slotClicked( int row, int col, int, const QPoint &pos ) | |||
308 | case 2: | 308 | case 2: |
309 | // may as well edit it... | ||
310 | // menuTimer->stop(); | ||
311 | // emit signalEdit(); | ||
312 | // Show detailed view of the selected entry | 309 | // Show detailed view of the selected entry |
@@ -321,3 +318,3 @@ void TodoTable::slotClicked( int row, int col, int, const QPoint &pos ) | |||
321 | menuTimer->stop(); | 318 | menuTimer->stop(); |
322 | // emit signalEdit(); | 319 | emit signalEdit(); |
323 | break; | 320 | break; |
@@ -672,3 +669,9 @@ void TodoTable::keyPressEvent( QKeyEvent *e ) | |||
672 | break; | 669 | break; |
673 | case 2: | 670 | case 2:{ |
671 | ToDoEvent *todo = todoList[static_cast<CheckItem*>(item(currentRow(), 0))]; | ||
672 | emit showDetails(*todo); | ||
673 | break; | ||
674 | } | ||
675 | case 3: | ||
676 | // Future: Let us change the dueDate directly... | ||
674 | emit signalEdit(); | 677 | emit signalEdit(); |
@@ -677,6 +680,6 @@ void TodoTable::keyPressEvent( QKeyEvent *e ) | |||
677 | } | 680 | } |
678 | } else { | 681 | } else |
679 | QTable::keyPressEvent( e ); | 682 | QTable::keyPressEvent( e ); |
680 | } | 683 | } |
681 | } | 684 | |
682 | 685 | ||