diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-08-12 15:46:56 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-08-12 15:50:17 +0200 |
commit | 22a9bb192eb47968ef6d588b35d6c38512284bcc (patch) | |
tree | 773cae5348917e55451f25e06c23148c7cfa1aea /src/plugins/qmldesigner/designersettings.cpp | |
parent | 12916161abf29fd5f703c5a950bb3e6fd7b9ba10 (diff) | |
download | qt-creator-22a9bb192eb47968ef6d588b35d6c38512284bcc.tar.gz |
QmlDesigner: remove QuickToolBar from QmlDesigner
QuickToolBar is moved to QmlJsEditor
For some widgets and resources QmlDesigner relies now on
lib/qmleditorwidgets
Diffstat (limited to 'src/plugins/qmldesigner/designersettings.cpp')
-rw-r--r-- | src/plugins/qmldesigner/designersettings.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/plugins/qmldesigner/designersettings.cpp b/src/plugins/qmldesigner/designersettings.cpp index a88830335c..67484b6246 100644 --- a/src/plugins/qmldesigner/designersettings.cpp +++ b/src/plugins/qmldesigner/designersettings.cpp @@ -51,10 +51,6 @@ void DesignerSettings::fromSettings(QSettings *settings) QLatin1String(QmlDesigner::Constants::QML_ITEMSPACING_KEY), QVariant(0)).toInt(); snapMargin = settings->value( QLatin1String(QmlDesigner::Constants::QML_SNAPMARGIN_KEY), QVariant(0)).toInt(); - enableContextPane = settings->value( - QLatin1String(QmlDesigner::Constants::QML_CONTEXTPANE_KEY), QVariant(1)).toBool(); - pinContextPane = settings->value( - QLatin1String(QmlDesigner::Constants::QML_CONTEXTPANEPIN_KEY), QVariant(0)).toBool(); settings->endGroup(); settings->endGroup(); } @@ -66,8 +62,6 @@ void DesignerSettings::toSettings(QSettings *settings) const settings->setValue(QLatin1String(QmlDesigner::Constants::QML_OPENDESIGNMODE_SETTINGS_KEY), openDesignMode); settings->setValue(QLatin1String(QmlDesigner::Constants::QML_ITEMSPACING_KEY), itemSpacing); settings->setValue(QLatin1String(QmlDesigner::Constants::QML_SNAPMARGIN_KEY), snapMargin); - settings->setValue(QLatin1String(QmlDesigner::Constants::QML_CONTEXTPANE_KEY), enableContextPane); - settings->setValue(QLatin1String(QmlDesigner::Constants::QML_CONTEXTPANEPIN_KEY), pinContextPane); settings->endGroup(); settings->endGroup(); @@ -77,7 +71,5 @@ bool DesignerSettings::equals(const DesignerSettings &other) const { return openDesignMode == other.openDesignMode && snapMargin == other.snapMargin - && itemSpacing == other.itemSpacing - && enableContextPane == other.enableContextPane - && pinContextPane == other.pinContextPane; + && itemSpacing == other.itemSpacing; } |