summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:00:04 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:00:04 +0200
commit42018ced07ba0dcf57099ab7abf83cf809c55d24 (patch)
treeaf33d6928cd452a4f69f31ad7338b3f23cc025f2
parent970f841d2e1d2219b8d9b80299bebc76ddbf8e72 (diff)
downloadkpilot-42018ced.tar.gz
kpilot-42018ced.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kpilot/internalEditorAction.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpilot/internalEditorAction.cc b/kpilot/internalEditorAction.cc
index b0e0e3b..5660ba7 100644
--- a/kpilot/internalEditorAction.cc
+++ b/kpilot/internalEditorAction.cc
@@ -94,7 +94,7 @@ void InternalEditorAction::syncDirtyDB()
// changed record from the PC to the handheld
PilotRecord*rec=0L;
- PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter, false);
+ PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
PilotDatabase *serialDB= deviceLink()->database(*dbIter);
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()));
return;
- PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter, false);
+ PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
PilotDatabase *serialDB=deviceLink()->database(*dbIter);
// 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;
#endif
- PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter, false);
+ PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
PilotDatabase *serialDB=deviceLink()->database(*dbIter);
unsigned char*appBlock=new unsigned char[0xFFFF];