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:18 +0200
commit8a84993475b9ac848f07627916f0ef3069d36516 (patch)
tree17bd7f7e3d4f7e88acae7137ee4ac6d9c571e8ab
parent1c1a7f0a8f20c3e8f7223f947136ad0ed4584966 (diff)
downloadkpilot-8a84993475b9ac848f07627916f0ef3069d36516.tar.gz
kpilot-8a84993475b9ac848f07627916f0ef3069d36516.zip
Fix FTBFS with GCC6r14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 42018ced07ba0dcf57099ab7abf83cf809c55d24)
-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];