From 166a4086c96a65106cf464fdb95a10b3f5c26bfd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Thu, 5 Mar 2009 16:29:18 +0100
Subject: [PATCH] --warnings

Small bugfix for column to jump to.
---
 src/plugins/coreplugin/editormanager/editorview.cpp | 4 ++--
 src/plugins/cppeditor/cppeditor.cpp                 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp
index 020cb200ff3..480a3fd4ba2 100644
--- a/src/plugins/coreplugin/editormanager/editorview.cpp
+++ b/src/plugins/coreplugin/editormanager/editorview.cpp
@@ -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);
diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp
index fa96c6c33af..f0334a89f6d 100644
--- a/src/plugins/cppeditor/cppeditor.cpp
+++ b/src/plugins/cppeditor/cppeditor.cpp
@@ -977,7 +977,7 @@ bool CPPEditor::openEditorAt(Symbol *s)
         --column;
 
     if (s->isGenerated())
-        unsigned column = 0;
+        column = 0;
 
     return openCppEditorAt(fileName, line, column);
 }
-- 
GitLab