Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/21/head
Slávek Banko 8 years ago
parent 4728d07ecb
commit dcf83fa05d

@ -42,7 +42,7 @@ class SpecialdatesPlugin : public Kontact::Plugin
virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget ); virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget );
protected: protected:
virtual KParts::ReadOnlyPart *createPart() { return false; } virtual KParts::ReadOnlyPart *createPart() { return 0; }
private: private:
TDEAboutData *mAboutData; TDEAboutData *mAboutData;

@ -460,7 +460,7 @@ void IncidenceConverter::setAttendees( KCal::Incidence *incidence,
item->distribution->sendoptions->statusTracking = soap_new_ngwt__StatusTracking( soap(), item->distribution->sendoptions->statusTracking = soap_new_ngwt__StatusTracking( soap(),
-1 ); -1 );
item->distribution->sendoptions->statusTracking->autoDelete = false; item->distribution->sendoptions->statusTracking->autoDelete = 0;
item->distribution->sendoptions->statusTracking->__item = All_; item->distribution->sendoptions->statusTracking->__item = All_;
item->distribution->recipients = soap_new_ngwt__RecipientList( soap(), -1 ); item->distribution->recipients = soap_new_ngwt__RecipientList( soap(), -1 );

Loading…
Cancel
Save