summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp
index d9fbfc9..083e6d1 100644
--- a/pwmanager/pwmanager/pwm.cpp
+++ b/pwmanager/pwmanager/pwm.cpp
@@ -1515,33 +1515,35 @@ void PwM::createAboutData_slot()
//this are the overwritten callbackmethods from the syncinterface
bool PwM::sync(KSyncManager* manager, QString filename, int mode)
{
PWM_ASSERT(curDoc());
bool ret = curDoc()->sync(manager, filename, mode);
qDebug("PwM::sync save now: ret=%i", ret);
if (ret == true) {
//US BUG: what can we call here to update the view of the current doc?
//mViewManager->refreshView();
//US curDoc()->sync sets the dirtyFlag in case the sync was successfull.
save();
}
return ret;
}
void PwM::removeSyncInfo( QString syncProfile)
{
- qDebug("PWM::not implemented: removeSyncInfo for profile %s ", syncProfile.latin1());
+ qDebug("PWM:removeSyncInfo for profile %s ", syncProfile.latin1());
+ curDoc()->removeSyncInfo( syncProfile );
+ //US curDoc()->removeSyncInfo sets the dirtyFlag.
}
#endif
#ifndef PWM_EMBEDDED
#include "pwm.moc"
#endif