Commit 39dd9d07 authored by David Kaspar's avatar David Kaspar
Browse files

Qnx: Fixing BarDescriptorEditor to open as unmodifed

Task-number: QTCREATORBUG-10228

Change-Id: I0660619b3279ff4889091c19622a98771c213a3e
Reviewed-by: default avatarDavid Kaspar <>
Reviewed-by: default avatarTobias Nätterlund <>
Reviewed-by: default avatarMehdi Fekari <>
Reviewed-by: Nicolas Arnaud-Cormos's avatarNicolas Arnaud-Cormos <>
parent f17d9f01
......@@ -207,8 +207,13 @@ BarDescriptorEditorAssetsWidget *BarDescriptorEditorWidget::assetsWidget() const
void BarDescriptorEditorWidget::setFilePath(const QString &filePath)
Core::IDocument *doc = m_xmlSourceWidget->editorDocument();
if (doc)
if (doc) {
// setFilePath() call leads to a textChanged() signal emitted
// and therefore having this editor-widget to become dirty
// therefore we have to explicitly unset the dirty flag
QString BarDescriptorEditorWidget::xmlSource() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment