forked from qt-creator/qt-creator
QML: Remove Apply on Save functionality
The feature has been actually been disabled since commit ac771eb552,
but now it's time to also remove the dead code ...
Fixing the feature and bringing it out of the experimental state
would require quite some effort that apparently nobody is willing
to spend. So it's better to remove it.
The enablers in the qmldebug library, as well as the QmlJSDelta utility
class in qmljs library, are left in though.
Change-Id: Idf98a2f946d0db86bef2f20d2349d6ffedba219c
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
@@ -958,9 +958,6 @@ public slots:
|
||||
bool parseArguments(const QStringList &args, QString *errorMessage);
|
||||
void parseCommandLineArguments();
|
||||
|
||||
void updateQmlActions() {
|
||||
action(QmlUpdateOnSave)->setEnabled(boolSetting(ShowQmlObjectTree));
|
||||
}
|
||||
|
||||
public:
|
||||
DebuggerMainWindow *m_mainWindow;
|
||||
@@ -2957,11 +2954,6 @@ void DebuggerPluginPrivate::extensionsInitialized()
|
||||
connect(action(SettingsDialog), &QAction::triggered,
|
||||
[] { ICore::showOptionsDialog(DEBUGGER_COMMON_SETTINGS_ID); });
|
||||
|
||||
// QML Actions
|
||||
connect(action(ShowQmlObjectTree), &SavedAction::valueChanged,
|
||||
this, &DebuggerPluginPrivate::updateQmlActions);
|
||||
updateQmlActions();
|
||||
|
||||
// Toolbar
|
||||
QWidget *toolbarContainer = new QWidget;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user