diff --git a/src/plugins/designer/README.txt b/src/plugins/designer/README.txt
deleted file mode 100644
index 51a274b..0000000
--- a/src/plugins/designer/README.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-The subdirectory cpp contains classes for CPP-Editor/Designer integration.
-They are dependent on the CPP editor plugin.
-
-Including cpp.pri in designer.pro enables them and defines
-CPP_ENABLED.
-
-Editor
-------
-
-The editor shows read-only XML text in a PlainTextEditor and Designer
-in Design mode. The switch is done in the currentEditorChanged signal.
-To make the text editor work, IEditor needs to aggregate a PlainTextEditable
-and delegate some functionality to it, while the isModified()-handling
-needs to be done by Designer itself.
-
-Resource handling:
-------------------
-
-When the editor is opened for the ui file we remember the internal qrc list
-read from the ui file (m_originalUiQrcPaths). In next step (a call to
-updateResources()), we detect if the ui file is inside any project or not.
-
-In case the ui file is not in any project (standalone), we apply
-m_originalUiQrcPaths to the form.
-
-Otherwise we take the list of qrc files from the project and apply the list
-into the form.
-
-Depending if the form is opened in standalone mode or not we save all
-resources or only those which are used inside a form (a call to
-setSaveResourcesBehaviour()).
-
-We need to update resources of the opened form in following cases:
-- a new qrc file is added to / removed from the project in which the form
-  exists (we connect filesAdded()/filesRemoved() to the updateResources() slot)
-- a new project is added which contains a form (which was opened in standalone
-  mode) (we connect foldersAdded()/foldersRemoved() to the updateResources()
-  slot)
-- the opened form is being saved as... with new name, what causes the editor
-  for the form points to a new file which is not in the project (we connect
-  filePathChanged(QString,QString) to updateResources() slot)
-
-Changes to qrc file contents are not needed to be handled here, since
-designer's internal file watcher updates the changes to qrc files silently.
-
-A call to setResourceEditingEnabled(false) removes the edit resources action
-form resource browser in designer
diff --git a/src/plugins/designer/settingsmanager.cpp b/src/plugins/designer/settingsmanager.cpp
index 74f3be3..54c1d38 100644
--- a/src/plugins/designer/settingsmanager.cpp
+++ b/src/plugins/designer/settingsmanager.cpp
@@ -35,16 +35,21 @@
 
 #include <QSettings>
 #include <QDebug>
+#include <QFile>
 
 using namespace Designer::Internal;
 
 void SettingsManager::beginGroup(const QString &prefix)
 {
-    Core::ICore::settings()->beginGroup(addPrefix(prefix));
+    QSettings *s = Core::ICore::settings();
+    qDebug() << s->fileName() << s->scope();
+    qDebug() << __FUNCTION__ << prefix;
+    s->beginGroup(addPrefix(prefix));
 }
 
 void SettingsManager::endGroup()
 {
+    qDebug() << __FUNCTION__;
     Core::ICore::settings()->endGroup();
 }
 
@@ -55,16 +60,32 @@ bool SettingsManager::contains(const QString &key) const
 
 void SettingsManager::setValue(const QString &key, const QVariant &value)
 {
-    Core::ICore::settings()->setValue(addPrefix(key), value);
+    QSettings *s = Core::ICore::settings();
+    const QString k = addPrefix(key);
+    qDebug() << __FUNCTION__ << s->fileName() <<  s->scope() << s->format()
+             << k << value << "group=" << s->group();
+    s->setValue(k, value);
 }
 
 QVariant SettingsManager::value(const QString &key, const QVariant &defaultValue) const
 {
-    return Core::ICore::settings()->value(addPrefix(key), defaultValue);
+    QSettings *s = Core::ICore::settings();
+    const QString k = addPrefix(key);
+    QVariant  v = s->value(k, defaultValue);
+    qDebug() << __FUNCTION__ << s->fileName() << s->scope() << s->format()
+             << "contains=" << s->contains(k)
+             << k << v << "group=" << s->group();
+    if (k.endsWith(QLatin1String("View mode"))) {
+        QString bk = s->fileName() + QLatin1String(".bak");
+        QFile::copy(s->fileName(), bk);
+        qDebug() << bk;
+    }
+    return v;
 }
 
 void SettingsManager::remove(const QString &key)
 {
+    qDebug() << __FUNCTION__ << key;
     Core::ICore::settings()->remove(addPrefix(key));
 }
 
@@ -73,5 +94,6 @@ QString SettingsManager::addPrefix(const QString &name) const
     QString result = name;
     if (Core::ICore::settings()->group().isEmpty())
         result.prepend(QLatin1String("Designer"));
+    qDebug() << __FUNCTION__ << name << result;
     return result;
 }
