From 8a84993475b9ac848f07627916f0ef3069d36516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 18:00:04 +0200 Subject: [PATCH] Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 42018ced07ba0dcf57099ab7abf83cf809c55d24) --- kpilot/internalEditorAction.cc | 6 +++--- 1 file 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)<database(*dbIter); unsigned char*appBlock=new unsigned char[0xFFFF];