- KMobileTools 0.5Same Bluetooth phone displayed twice + others problemsremi.chateauneu
- KMobileTools 0.5Blocks the UO when configuring a second phoneremi.chateauneu
- KMobileTools 0.5Hangs when reading .DCOPserver_DuoLnx__0remi.chateauneu
- KMobileTools 0.5Unable to use th KMobile toolsjaspreetsunnydeol
- KMobileTools 0.5support for tmobile dashslipin3
SVN compile error in 'calendar_jobs.cpp'
Hi there,
there is a problem with the overloaded function calls in the following section:
switch( repeat ){
case 1:
event->recurrence ()->setDaily(1);
break;
case 2:
event->recurrence()->setWeekly(1);
break;
case 3:
event->recurrence()->setMonthly(1);
break;
case 4:
event->recurrence()->setWeekly(4);
break;
case 5:
event->recurrence()->setYearly(1);
break;
//default:
// event->recurrence()->clear();
}
In /opt/kde3/include/libkcal/recurrence.h the set* functions are declared with more than one variables (KDE 3.4.0), the following modifications made the whole thing compile:
switch( repeat ){
case 1:
event->recurrence ()->setDaily(1,0);
break;
case 2:
event->recurrence()->setWeekly(1,0,0,0);
break;
case 3:
event->recurrence()->setMonthly(1,0,0);
break;
case 4:
event->recurrence()->setWeekly(4,0,0,0);
break;
case 5:
event->recurrence()->setYearly(1,0,0);
break;
//default:
// event->recurrence()->clear();
}
Because I don't have a MOtorola Phone, this should not effect teh behaviour of the program for me :-)
Regards
Robbeh

News
Downloads
Screenshots
Support
LiveMobileTools
Help Us
About KMobileTools
SubVersion howto
Links
Thanks