OSDN Git Service

Fixed cursor width inconsistency
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Thu, 16 Sep 2010 15:26:45 +0000 (17:26 +0200)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Thu, 16 Sep 2010 16:17:18 +0000 (18:17 +0200)
commit24548a4d446c23a28eda9344eae78c29431be1e3
tree030383d17bd4fb836e373c69425f2151b3b30b17
parentae4c35bd86809650ab59f6b78ec70142663fdeac
Fixed cursor width inconsistency

While it was set to 2 for most editors, some editors, like the .pro file
editor, set another document on the BaseTextEditor, which then did not
get its cursor width set.

Also removed a duplicated line.

Reviewed-by: dt
src/plugins/texteditor/basetexteditor.cpp