-rw-r--r-- | korganizer/mainwindow.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 1776dcc..883a9d1 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -617,13 +617,13 @@ void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) | |||
617 | if ( cmsg == "-writeFileSilent" ) { | 617 | if ( cmsg == "-writeFileSilent" ) { |
618 | // I made from the "-writeFile" an "-writeAlarm" | 618 | // I made from the "-writeFile" an "-writeAlarm" |
619 | // mView->viewManager()->showWhatsNextView(); | 619 | // mView->viewManager()->showWhatsNextView(); |
620 | mCalendar->checkAlarmForIncidence( 0, true); | 620 | mCalendar->checkAlarmForIncidence( 0, true); |
621 | //showMaximized(); | 621 | //showMaximized(); |
622 | //raise(); | 622 | //raise(); |
623 | hide(); | 623 | //hide(); |
624 | return; | 624 | return; |
625 | } | 625 | } |
626 | if ( cmsg == "-newCountdown" ) { | 626 | if ( cmsg == "-newCountdown" ) { |
627 | qDebug("newCountdown "); | 627 | qDebug("newCountdown "); |
628 | 628 | ||
629 | } | 629 | } |
@@ -645,15 +645,12 @@ void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) | |||
645 | if ( msg == "-newTodo" ) { | 645 | if ( msg == "-newTodo" ) { |
646 | QTimer::singleShot( 0, mView, SLOT ( newTodo())); | 646 | QTimer::singleShot( 0, mView, SLOT ( newTodo())); |
647 | } | 647 | } |
648 | if ( msg == "-showWN" ) { | 648 | if ( msg == "-showWN" ) { |
649 | mView->viewManager()->showWhatsNextView(); | 649 | mView->viewManager()->showWhatsNextView(); |
650 | } | 650 | } |
651 | if ( msg == "-showTodo" ) { | ||
652 | mView->viewManager()->showTodoView(); | ||
653 | } | ||
654 | if ( msg == "-showList" ) { | 651 | if ( msg == "-showList" ) { |
655 | mView->viewManager()->showListView(); | 652 | mView->viewManager()->showListView(); |
656 | } | 653 | } |
657 | else if ( msg == "-showDay" ) { | 654 | else if ( msg == "-showDay" ) { |
658 | mView->viewManager()->showDayView(); | 655 | mView->viewManager()->showDayView(); |
659 | } | 656 | } |