Commit bdbf6087 authored by Eike Ziller's avatar Eike Ziller
Browse files

AndroidManifestEditor: Be less noisy with changed() signals



Changed signal shouldn't be sent on all contents changes, but only if
the modification state changes.

Change-Id: I2fda12b5ded56eac4eec8cf6a428c04b18b576ec
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 27aa2082
...@@ -507,7 +507,7 @@ bool AndroidManifestEditorWidget::open(QString *errorString, const QString &file ...@@ -507,7 +507,7 @@ bool AndroidManifestEditorWidget::open(QString *errorString, const QString &file
void AndroidManifestEditorWidget::setDirty(bool dirty) void AndroidManifestEditorWidget::setDirty(bool dirty)
{ {
if (m_stayClean) if (m_stayClean || dirty == m_dirty)
return; return;
m_dirty = dirty; m_dirty = dirty;
emit guiChanged(); emit guiChanged();
......
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