calendarui/agendaeventviewer/src/agendaeventviewer_p.cpp
changeset 49 5de72ea7a065
parent 23 fd30d51f876b
child 50 579cc610882e
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
   124 	AgendaEntry entry;
   124 	AgendaEntry entry;
   125 	mAgendaUtil->importvCalendar(nativeFilePath, entry);
   125 	mAgendaUtil->importvCalendar(nativeFilePath, entry);
   126 	if (!entry.isNull()) {
   126 	if (!entry.isNull()) {
   127 		mAgendaEventView = new AgendaEventView(this);
   127 		mAgendaEventView = new AgendaEventView(this);
   128 		mAgendaEventView->execute(entry, action);
   128 		mAgendaEventView->execute(entry, action);
       
   129 	} else {
       
   130 	    q_ptr->viewingCompleted(QDateTime::currentDateTime().date());
   129 	}
   131 	}
   130 	qDebug() <<"AgendaEventViewerPrivate::view(fileHandle) <--";
   132 	qDebug() <<"AgendaEventViewerPrivate::view(fileHandle) <--";
   131 }
   133 }
   132 
   134 
   133 /*!
   135 /*!