-rw-r--r-- | core/pim/todo/todotable.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/pim/todo/todotable.cpp b/core/pim/todo/todotable.cpp index d0bc61c..753c036 100644 --- a/core/pim/todo/todotable.cpp +++ b/core/pim/todo/todotable.cpp @@ -307,9 +307,15 @@ void TodoTable::slotClicked( int row, int col, int, const QPoint &pos ) case 2: // may as well edit it... // menuTimer->stop(); // emit signalEdit(); - // fall through + // Show detailed view of the selected entry + { + menuTimer->stop(); + ToDoEvent *todo = todoList[static_cast<CheckItem*>(item(row, 0))]; + emit showDetails( *todo ); + } + break; case 3: // may as well edit it... menuTimer->stop(); // emit signalEdit(); @@ -344,9 +350,9 @@ void TodoTable::internalAddEntries( QList<ToDoEvent> &list ) ToDoEvent TodoTable::currentEntry() const { - printf ("in currentEntry\n"); + //qWarning ("in currentEntry\n"); QTableItem *i = item( currentRow(), 0 ); if ( !i || rowHeight( currentRow() ) <= 0 ) return ToDoEvent(); |