PlainTextEditor: only configure when the file path changes
authorEike Ziller <eike.ziller@digia.com>
Wed, 15 Jan 2014 09:32:39 +0000 (10:32 +0100)
committerEike Ziller <eike.ziller@digia.com>
Wed, 15 Jan 2014 13:05:58 +0000 (14:05 +0100)
commit6e666abc8e4bfd1796c1888a74fc1476a74cd2ea
treed2a664d3247c4c10a2229288f562834e67b03f01
parenta1006d107f9453e52aaf4a9f097f131981d3b6e5
PlainTextEditor: only configure when the file path changes

It was also configuring whenever the modified state changed.
Then it also doesn't seem to be necessary to queue the connection.

Change-Id: I4935afbfef2e08c76f10c801281e2cc7796ac047
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
src/plugins/texteditor/plaintexteditor.cpp