aboutsummaryrefslogtreecommitdiff
path: root/lib/web
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web')
-rw-r--r--lib/web/profilemanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/web/profilemanager.h b/lib/web/profilemanager.h
index ad6fa1f..c7ed660 100644
--- a/lib/web/profilemanager.h
+++ b/lib/web/profilemanager.h
@@ -46,9 +46,12 @@ private:
~ProfileData()
{
- if(!deleteSelf)
+ if(!deleteSelf) {
+#ifdef QT_DEBUG
+ qDebug("sync %s", qUtf8Printable(settings.fileName()));
+#endif
this->settings.sync();
- else {
+ } else {
QFile::remove(path);
if(!profile->isOffTheRecord()) {