summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/file/resourcefile.cpp
Side-by-side diff
Diffstat (limited to 'kabc/plugins/file/resourcefile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/file/resourcefile.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/kabc/plugins/file/resourcefile.cpp b/kabc/plugins/file/resourcefile.cpp
index da2e4d7..fa6bc49 100644
--- a/kabc/plugins/file/resourcefile.cpp
+++ b/kabc/plugins/file/resourcefile.cpp
@@ -206,3 +206,3 @@ bool ResourceFile::save( Ticket *ticket )
{
-// qDebug("ResourceFile::save format %s, %s", mFileName.latin1(), mFormatName.latin1());
+// qDebug("ResourceFile::save format %s, %s", mFileName.latin1(), mFormatName.latin1());
@@ -227,2 +227,4 @@ bool ResourceFile::save( Ticket *ticket )
//US ToDo: write backupfile
+ mDirWatch.stopScan();
+
QFile info;
@@ -243,2 +245,4 @@ bool ResourceFile::save( Ticket *ticket )
+ mDirWatch.startScan();
+
delete ticket;
@@ -247,5 +251,2 @@ bool ResourceFile::save( Ticket *ticket )
return ok;
-
- qDebug("ResourceFile::save has to be changed");
- return true;
}