forked from qt-creator/qt-creator
--warnings
Small bugfix for column to jump to.
This commit is contained in:
@@ -207,8 +207,8 @@ EditorView::EditorView(EditorModel *model, QWidget *parent) :
|
||||
m_lockButton(new QToolButton),
|
||||
m_defaultToolBar(new QToolBar(this)),
|
||||
m_infoWidget(new QFrame(this)),
|
||||
m_statusWidget(new QFrame(this)),
|
||||
m_editorForInfoWidget(0)
|
||||
m_editorForInfoWidget(0),
|
||||
m_statusWidget(new QFrame(this))
|
||||
{
|
||||
QVBoxLayout *tl = new QVBoxLayout(this);
|
||||
tl->setSpacing(0);
|
||||
|
||||
@@ -977,7 +977,7 @@ bool CPPEditor::openEditorAt(Symbol *s)
|
||||
--column;
|
||||
|
||||
if (s->isGenerated())
|
||||
unsigned column = 0;
|
||||
column = 0;
|
||||
|
||||
return openCppEditorAt(fileName, line, column);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user