diff options
author | Kai Koehne <[email protected]> | 2014-07-17 12:14:14 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2014-07-17 17:52:33 +0200 |
commit | ac771eb552e421e76c79102347c6a4d9620a5270 (patch) | |
tree | f69f6ae0e6470676ad615ba19007e88c6364180a /src/plugins/debugger/debuggerplugin.cpp | |
parent | a1b5a61b6ef301b22382be11d734ea5cff5455cf (diff) |
Hide broken "Apply on Save" feature
The feature has always been somewhat experimental, but got even more
broken over time. Let's hide it for the time being.
Change-Id: If46861831d7fb7ed8e9b77b79d1ebe583243ab48
Reviewed-by: Leena Miettinen <[email protected]>
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 60ab8baa4b0..76abafbbb40 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -3197,13 +3197,14 @@ void DebuggerPluginPrivate::extensionsInitialized() debugMenu->addSeparator(globalcontext); - QAction *qmlUpdateOnSaveDummyAction = new QAction(tr("Apply Changes on Save"), this); - qmlUpdateOnSaveDummyAction->setCheckable(true); - qmlUpdateOnSaveDummyAction->setIcon(QIcon(_(":/debugger/images/qml/apply-on-save.png"))); - qmlUpdateOnSaveDummyAction->setEnabled(false); - cmd = ActionManager::registerAction(qmlUpdateOnSaveDummyAction, Constants::QML_UPDATE_ON_SAVE, - globalcontext); - debugMenu->addAction(cmd); + // currently broken +// QAction *qmlUpdateOnSaveDummyAction = new QAction(tr("Apply Changes on Save"), this); +// qmlUpdateOnSaveDummyAction->setCheckable(true); +// qmlUpdateOnSaveDummyAction->setIcon(QIcon(_(":/debugger/images/qml/apply-on-save.png"))); +// qmlUpdateOnSaveDummyAction->setEnabled(false); +// cmd = ActionManager::registerAction(qmlUpdateOnSaveDummyAction, Constants::QML_UPDATE_ON_SAVE, +// globalcontext); +// debugMenu->addAction(cmd); QAction *qmlShowAppOnTopDummyAction = new QAction(tr("Show Application on Top"), this); qmlShowAppOnTopDummyAction->setCheckable(true); @@ -3358,7 +3359,8 @@ void DebuggerPluginPrivate::extensionsInitialized() hbox = new QHBoxLayout(qmlToolbar); hbox->setMargin(0); hbox->setSpacing(0); - hbox->addWidget(toolButton(Constants::QML_UPDATE_ON_SAVE)); + // currently broken + //hbox->addWidget(toolButton(Constants::QML_UPDATE_ON_SAVE)); hbox->addWidget(toolButton(Constants::QML_SHOW_APP_ON_TOP)); hbox->addWidget(new StyledSeparator); hbox->addWidget(toolButton(Constants::QML_SELECTTOOL)); |