forked from qt-creator/qt-creator
QtMessageLogHandler: Fix "jumping" cursor
Change-Id: I1967e8b4da4d1f52c97be557fda0d019e6598c09 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -67,6 +67,7 @@ QtMessageLogEditor::QtMessageLogEditor(const QModelIndex &index,
|
||||
format.setName(_("prompt"));
|
||||
format.setHeight(9);
|
||||
format.setWidth(9);
|
||||
textCursor().insertText(_(" "));
|
||||
textCursor().insertImage(format);
|
||||
textCursor().insertText(_(" "));
|
||||
m_startOfEditableArea = textCursor().position();
|
||||
|
@@ -180,7 +180,7 @@ private:
|
||||
|
||||
public:
|
||||
static const int TASK_ICON_SIZE = 16;
|
||||
static const int ITEM_PADDING = 7;
|
||||
static const int ITEM_PADDING = 8;
|
||||
static const int ITEM_SPACING = 4;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user