forked from qt-creator/qt-creator
Don't clash signal names with other methods
In case when signal name clashes with other method name - rename accordingly. Remove some repeated signal declarations - they are already declared in superclass. Change-Id: Ie1430b85d6436d26996494fa44c7554fb354b6ce Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -147,7 +147,7 @@ void QmlJSEditorWidget::finalizeInitialization()
|
||||
}
|
||||
|
||||
connect(this->document(), &QTextDocument::modificationChanged,
|
||||
this, &QmlJSEditorWidget::modificationChanged);
|
||||
this, &QmlJSEditorWidget::updateModificationChange);
|
||||
|
||||
connect(m_qmlJsEditorDocument, &QmlJSEditorDocument::updateCodeWarnings,
|
||||
this, &QmlJSEditorWidget::updateCodeWarnings);
|
||||
@@ -257,7 +257,7 @@ void QmlJSEditorWidget::foldAuxiliaryData()
|
||||
}
|
||||
}
|
||||
|
||||
void QmlJSEditorWidget::modificationChanged(bool changed)
|
||||
void QmlJSEditorWidget::updateModificationChange(bool changed)
|
||||
{
|
||||
if (!changed && m_modelManager)
|
||||
m_modelManager->fileChangedOnDisk(textDocument()->filePath().toString());
|
||||
|
||||
@@ -80,7 +80,7 @@ signals:
|
||||
void selectedElementsChanged(QList<QmlJS::AST::UiObjectMember*> offsets,
|
||||
const QString &wordAtCursor);
|
||||
private:
|
||||
void modificationChanged(bool);
|
||||
void updateModificationChange(bool);
|
||||
|
||||
void jumpToOutlineElement(int index);
|
||||
void updateContextPane();
|
||||
|
||||
Reference in New Issue
Block a user