|
|
@ -94,7 +94,7 @@ void InternalEditorAction::syncDirtyDB()
|
|
|
|
// changed record from the PC to the handheld
|
|
|
|
// changed record from the PC to the handheld
|
|
|
|
|
|
|
|
|
|
|
|
PilotRecord*rec=0L;
|
|
|
|
PilotRecord*rec=0L;
|
|
|
|
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter, false);
|
|
|
|
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
|
|
|
|
PilotDatabase *serialDB= deviceLink()->database(*dbIter);
|
|
|
|
PilotDatabase *serialDB= deviceLink()->database(*dbIter);
|
|
|
|
if (!localDB->isOpen() || !serialDB->isOpen())
|
|
|
|
if (!localDB->isOpen() || !serialDB->isOpen())
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -334,7 +334,7 @@ emit logError(i18n("Setting the database flags on the handheld is not yet suppor
|
|
|
|
TQTimer::singleShot(0, this, TQT_SLOT(syncAppBlockChangedDB()));
|
|
|
|
TQTimer::singleShot(0, this, TQT_SLOT(syncAppBlockChangedDB()));
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter, false);
|
|
|
|
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
|
|
|
|
PilotDatabase *serialDB=deviceLink()->database(*dbIter);
|
|
|
|
PilotDatabase *serialDB=deviceLink()->database(*dbIter);
|
|
|
|
|
|
|
|
|
|
|
|
// open the local and the serial database and copy the flags over
|
|
|
|
// open the local and the serial database and copy the flags over
|
|
|
@ -371,7 +371,7 @@ void InternalEditorAction::syncAppBlockChangedDB()
|
|
|
|
DEBUGKPILOT<<"syncAppBlockChangedDB for DB "<<(*dbIter)<<endl;
|
|
|
|
DEBUGKPILOT<<"syncAppBlockChangedDB for DB "<<(*dbIter)<<endl;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter, false);
|
|
|
|
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
|
|
|
|
PilotDatabase *serialDB=deviceLink()->database(*dbIter);
|
|
|
|
PilotDatabase *serialDB=deviceLink()->database(*dbIter);
|
|
|
|
|
|
|
|
|
|
|
|
unsigned char*appBlock=new unsigned char[0xFFFF];
|
|
|
|
unsigned char*appBlock=new unsigned char[0xFFFF];
|
|
|
|