diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-08 17:04:58 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-08 17:04:58 +0200 |
commit | dd683623fd5f5a88a1c9f5adfd6d2fece91ed3dc (patch) | |
tree | b07205fff261ec4e092e28f4327d02fc1492532d /lib | |
parent | Disable Chromium crash handler (diff) | |
download | smolbote-dd683623fd5f5a88a1c9f5adfd6d2fece91ed3dc.tar.xz |
Create .profile file when adding a new profile
Diffstat (limited to 'lib')
-rw-r--r-- | lib/web/profilemanager.h | 7 |
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()) { |